Re: [I18ndir] I18ndir early review of draft-ietf-dispatch-javascript-mjs-07

Barry Leiba <> Sat, 09 May 2020 18:36 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id 9D7503A0E66; Sat, 9 May 2020 11:36:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -1.401
X-Spam-Status: No, score=-1.401 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=no autolearn_force=no
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id 6JcLdNZ1PMAi; Sat, 9 May 2020 11:36:47 -0700 (PDT)
Received: from ( []) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by (Postfix) with ESMTPS id C6F783A0EBD; Sat, 9 May 2020 11:36:46 -0700 (PDT)
Received: by with SMTP id s10so4542089iln.11; Sat, 09 May 2020 11:36:46 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Bz5E/9LL/Q+VOoy1DpgqzqS/4qzlsFcTntxIUgBd/K4=; b=DXeKtkjwJEDyVtBTu0VBFEoVXd3LjjR1xb3Y2T7B/roDc6My+vzOAzZXli60mHPNrC opuDl8tFE628fV2ahp8W/Q35auXsIMvlKSW2uAE2CyZMuphC2rGaCDuLbx4K7vZjbwSZ KuCUZpYIx91Fg97rDStcl52bokBi+jLljRDNJWlouSXhwjX5w2Yo0TIGF7E4WiMiQ1N/ W86KP9ZY2zKnojyqlxadeS75awP+8sc95n4MiWoIR34gw1OsVIXTCbKTxDKop7xBMUBM Vy0rYM1GGFAJeUi6Z09smkz+3bDkFzwQN/HaV5TjfUCb/4YACVIMJONhLBA5IcY80rpR 8Cuw==
X-Gm-Message-State: AGi0PuYQ9nwkRlMP0DmS0l0ROYTL2YQT2d6dx5AOGLRD35JvT3zixbCu KC9VkaKX/aaRRKu1bE5v4G+idfsPVBaGDafUQCE=
X-Google-Smtp-Source: APiQypKHghcV4KvANC9KwCDQO8PRYjG0nJ2ADDCoIR6orcvNKXGmaR3L+9KX/CGUYeKDawOlPg4Py8yq9YWtpM9w6aM=
X-Received: by 2002:a92:414d:: with SMTP id o74mr9264374ila.266.1589049405807; Sat, 09 May 2020 11:36:45 -0700 (PDT)
MIME-Version: 1.0
References: <> <> <> <alpine.OSX.2.22.407.2005081926580.81728@ary.qy> <> <alpine.OSX.2.22.407.2005091233350.84818@ary.qy>
In-Reply-To: <alpine.OSX.2.22.407.2005091233350.84818@ary.qy>
From: Barry Leiba <>
Date: Sat, 9 May 2020 14:36:34 -0400
Message-ID: <>
To: John R Levine <>
Cc: =?UTF-8?B?UGF0cmlrIEbDpGx0c3Ryw7Zt?= <>, Myles Borins <>, DISPATCH WG <>,,
Content-Type: text/plain; charset="UTF-8"
Archived-At: <>
Subject: Re: [I18ndir] I18ndir early review of draft-ietf-dispatch-javascript-mjs-07
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Internationalization Directorate <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Sat, 09 May 2020 18:36:49 -0000

> It occurs to me that http clients can send an Accept header, so how about
> saying that modules SHOULD be text/jsmodule, but MAY be text/javascript
> for backward compatibiltiy with clients that don't handle text/jsmodule?

I'm very much not fond of the SHOULD... but MAY construction, because
I think the MAY contradicts the SHOULD.

I think the right way to say this is more along the line of "SHOULD
use text/jsmodule.  If that is not practical because backward
compatibility with clients that do not support text/jsmodule is
necessary, then the alternative MUST be text/javascript."