Re: [media-types] Thoughts on suffixes, single and multiple

Mark Nottingham <mnot@mnot.net> Fri, 12 April 2024 08:26 UTC

Return-Path: <mnot@mnot.net>
X-Original-To: media-types@ietfa.amsl.com
Delivered-To: media-types@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 81313C14F5F2 for <media-types@ietfa.amsl.com>; Fri, 12 Apr 2024 01:26:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.098
X-Spam-Level:
X-Spam-Status: No, score=-7.098 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=mnot.net header.b="WOQzHBTe"; dkim=pass (2048-bit key) header.d=messagingengine.com header.b="DwX056kS"
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oDNu7XskBUeh for <media-types@ietfa.amsl.com>; Fri, 12 Apr 2024 01:26:46 -0700 (PDT)
Received: from wfhigh4-smtp.messagingengine.com (wfhigh4-smtp.messagingengine.com [64.147.123.155]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D8B78C14F5F4 for <media-types@ietf.org>; Fri, 12 Apr 2024 01:26:46 -0700 (PDT)
Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailfhigh.west.internal (Postfix) with ESMTP id 0E5A118000BC; Fri, 12 Apr 2024 04:26:43 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Fri, 12 Apr 2024 04:26:44 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mnot.net; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1712910403; x=1712996803; bh=M++Fuo5HU5dY57HQqs9xBQpfZRLtLEzyEql57f4ByB8=; b= WOQzHBTecYL3RlHm4uj1kfCJHiH0SkatDViGbEpEBYwJE0t7nCthXx2jdWxkwVFH 7C2YylV6kFo+l5J7PHLc0kpG+pSheg/LmGJm0QKo5Pd2BuWtqUPsaTJPEGwp6nhn RlMbHVVuKMIw4sAVA2JDlVIvstO1WKNNt67biLfPu9+e9Qmnl8nxjXo69zQ1FKHL /lIVywjYwxvFryJWt07PDPR4VcunmtSqaSHnkIUykzc/RlUlGLwtvdbo+OrVYc5Q lzu0IrFz8Pc0itfNzNAmSXa6PdOaMcdiAPNI01j6H+eu+9I8DynB7R1I60YCE9/W 8rVL3qKCdqGZyVo2BSYzGg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1712910403; x= 1712996803; bh=M++Fuo5HU5dY57HQqs9xBQpfZRLtLEzyEql57f4ByB8=; b=D wX056kS/DY1CnFBAiT+8yBGnKQ5sA/sxkAVHOA1WOXc+n62xxv2IYzkRLsY7ZQBc t5Bh3h6Kf9w8xMf7MTc6UJHcakIXlmQRVaKCrFLh8+rewklcyLrj5cLhqUISZmrV 8EXeX1NstOFKLEK+zrqrmOdAgASc4v8ZraPZvRFUFsUC4Ryl6ZME+r8pFNEj6+ja /W3yyI73i6qVdlCmHOxEzQIrFqAo/9VEKibpqCEqTpGYrbx6PTY8xY+QceSO1v2H PPzcZMJMLgeQY6xqSsFCICoa52SgRjEOBR2dTM6EuIJBmvqksxMEth4W90s0P+6z W1xfE1vqR63fkKNpUUjxg==
X-ME-Sender: <xms:Q_AYZprjQaQ590_PsCLi_rE8OdzuEjVq7xYbTHoV1qy5qbW9wzsFnw> <xme:Q_AYZrpgeMieeiAkGq9P1uXXIqARKaa-zKIe7xMu-TgiZzy6QRVlIYyIkLLSYW4zz idqlr00-6heFHBzgQ>
X-ME-Received: <xmr:Q_AYZmOjAPHNtPfypWvSC3aD0LMUoWY44gyzTdOyU1R8FHSvZGoKeG8IirVEowlFHQbA>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrudeiuddgtdefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurheptggguffhjgffvefgkfhfvffosehtqhhmtdhhtdejnecuhfhrohhmpeforghr khcupfhothhtihhnghhhrghmuceomhhnohhtsehmnhhothdrnhgvtheqnecuggftrfgrth htvghrnhepfefhhfelleejjeejieekhfejfeeiheetgeejgffhudegveeigeehgefftdet udetnecuffhomhgrihhnpehmnhhothdrnhgvthenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehmnhhothesmhhnohhtrdhnvght
X-ME-Proxy: <xmx:Q_AYZk7vN-5tlXVFQfBgV1SofICLSC20tcEuzJdChUXoZ2VOOgtNJw> <xmx:Q_AYZo68_CrCUiy01dtQj1aVU1xNdtFzqa-4vWslnH8QIKgYVTShpQ> <xmx:Q_AYZsh40tb_imcT1y9p0n4eDi8jE2PXQm2pnI-opw-ugpNQUWerGw> <xmx:Q_AYZq6uHsviu1ttSgp96jXm6YJQJ9OHyPpoQ9auNLjKie81yDlpWQ> <xmx:Q_AYZmkvtvw5rNDOCgNd9BEstgWAPH47T2s3StX67W37JO8qWwRXpjAg>
Feedback-ID: ie6694242:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 12 Apr 2024 04:26:42 -0400 (EDT)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.500.171.1.1\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CAMBN2CTDoM1aRPZ9ura9Uy0-e3qukMwahBqhvyPyAPxZW4+nVQ@mail.gmail.com>
Date: Fri, 12 Apr 2024 17:26:36 +0900
Cc: IETF Media Types <media-types@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <DE31859C-EEE8-4272-80A9-1260F4841E37@mnot.net>
References: <2E20FEDE-C766-43EE-A6E2-1FB63E79CF0B@mnot.net> <1c404c4d-437c-464a-b414-4e0d39c1d8ea@alvestrand.no> <E83E80FF-5810-4A53-85D8-E5095F9C1C1C@openlinksw.com> <837B503B-B9F9-40F7-8078-7D1BCD66D076@mnot.net> <CAMBN2CTMk8GDeUT0ObHcW=xxaRMzd75PrtWwLa_YB-4JoF_FxA@mail.gmail.com> <F58ABF0E-56F3-462B-AA00-192A75AFEE41@mnot.net> <CAMBN2CSbxjX8GCi2E1gTwnaWNLvbNc7SWd=mStWDnj0eeZpgpQ@mail.gmail.com> <C2B4B44B-1282-4818-9B49-01E6B67593E0@mnot.net> <CAMBN2CT0qaYFqp1gMUZsBxepxZ=nzpKbAW+cAhHyHdASZHupgA@mail.gmail.com> <25A01CF2-7529-4E8B-9B80-116D4C6FB4E9@mnot.net> <CAMBN2CTDoM1aRPZ9ura9Uy0-e3qukMwahBqhvyPyAPxZW4+nVQ@mail.gmail.com>
To: Manu Sporny <msporny@digitalbazaar.com>
X-Mailer: Apple Mail (2.3774.500.171.1.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/UASdyAXx6uTtCAt_r-KmjZOK7ms>
Subject: Re: [media-types] Thoughts on suffixes, single and multiple
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "IANA mailing list for reviewing Media Type \(MIME Type, Content Type\) registration requests." <media-types.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/media-types>, <mailto:media-types-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/media-types/>
List-Post: <mailto:media-types@ietf.org>
List-Help: <mailto:media-types-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/media-types>, <mailto:media-types-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 12 Apr 2024 08:26:51 -0000


> On 9 Apr 2024, at 00:53, Manu Sporny <msporny@digitalbazaar.com> wrote:
> 
> On Sun, Apr 7, 2024 at 10:15 PM Mark Nottingham <mnot@mnot.net> wrote:
>> No - what I'm saying is that whatever we put into the multiple suffixes draft, it should be extremely generic, so that it can accommodate all of these different uses.
> 
> Got it, some thoughts on that concept below...
> 
>> - No requirement to register combinations of suffixes; only each individual suffix is required to be registered
> 
> We had floated a variation of that proposal two IETFs ago and it did
> not achieve consensus from the Designated Experts. That is what led to
> the "MUST register all suffixes to the right" language in the multiple
> suffixes specification today.

Just to be super clear -- the experts don't have consensus about the content of the specification -- they don't have any special role beyond following its instructions. The consensus that matters is of the WG (and eventually the IETF). 

> While it does answer the question for "+xml+gzip", it doesn't quite
> cover the question regarding "+ld+json", does it (there is no such
> thing as a +ld suffix)?

In this straw-man approach, +ld would have to be defined. Of course, there are variations, e.g., we only require that each sequence of suffixes be registered (e.g., +json and +ld+json, but not +ld). I suspect it's going to come down to a) what approach gives us the properties we want, and b) what's easiest to understand/implement.

>> - No default constraints on how suffixes are composed / how they relate to each other / what the semantics of their ordering or position means
> 
> Yes, that seems workable as long as we say that the specification that
> registers the suffix must specify what the semantics of the ordering
> and position means. Maybe we add this as a field that's required in
> the registration request to ensure that multiple suffix usage has
> clear guidelines for how they are interpreted.

Yes, we'll need a list of what they need to consider. Don't know that's in the template -- I suspect it needs to be in the spec and reviewed upon suffix registration.

>> Does that make sense? I could see an argument for still requiring combinations of suffixes to be registered, but am hoping that if we do a good job on describing the individual suffix constraints, that won't be necessary.
> 
> Yes, it makes sense. As I mentioned earlier, there are multiple valid
> interpretations that make logical sense, we just need to find a path
> (or paths) that everyone can agree to. Whether or not combinations
> (such as +ld+json) need to be registered will be important to decide,
> but can be somewhat orthogonal to some of the other "simpler" multiple
> suffix usages such as "+xml+gzip".

+1.

Cheers,


--
Mark Nottingham   https://www.mnot.net/