[media-types] Media subtypes containing "+"

"Murray S. Kucherawy" <superuser@gmail.com> Thu, 02 July 2020 17:29 UTC

Return-Path: <superuser@gmail.com>
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 D5FFD3A0B12 for <media-types@ietfa.amsl.com>; Thu, 2 Jul 2020 10:29:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IhqVYNrSHfgU for <media-types@ietfa.amsl.com>; Thu, 2 Jul 2020 10:29:32 -0700 (PDT)
Received: from mail-ua1-x932.google.com (mail-ua1-x932.google.com [IPv6:2607:f8b0:4864:20::932]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 163263A0B05 for <media-types@ietf.org>; Thu, 2 Jul 2020 10:29:29 -0700 (PDT)
Received: by mail-ua1-x932.google.com with SMTP id q15so8966889uap.4 for <media-types@ietf.org>; Thu, 02 Jul 2020 10:29:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=/oLvHPGKkeuT85banmcwNpMOSsQOiwVZlzzWTa6XSdQ=; b=T1Ja34GrzDoBhnS2rCEiSaoaVOGMSI6cMdscEJPKog1w8aAzZWTC6GKaupXqrF/h87 hrFspk3SK9Ro1sbVF2md738o4e+TIW9x671OQdULJncDD3uqMbJMG9sPfyboruIm0UMW nKkB196V4ekrc9NAJHxBIpH2U4hH92EincnrkKv1HWeP4KJJRhJQ6DWI7HgmmVMjvfsh L7VZOy7uS1v56MjzshYGwyj7VZ3Dsd3z3ySBW2rrxACVWBATuwdPqUWHfGnEYJIZWuod JQWsAr2tvp6s3PXbZz16jiSBwoOEizhyRoTcwEmdHGU1KZ+ovEW5fEOXXHpXsDYxTo3E EGag==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=/oLvHPGKkeuT85banmcwNpMOSsQOiwVZlzzWTa6XSdQ=; b=WE4tk3LLDliqpADRngwyaDAlqFvM3iPGLvGu/eTu9txgP+yeDKbAH+iktiHPaGZsrL Q/QmSEpc+RcxVUViU1os8eTkMVckSIXOsWS0S+bu35I34u1ArRefBYRAWHx5S4cwbo1A 5uUXI4Ygu7AulPkxXMc0l6VKlaBBpzyiGRD+gHkqC15fHB1dv8IaPoNYgPxJ6szB6to/ UISpRd3ohaI/YNm2qOFyUrTlXz0+EJhX2Wt5g9rFKTucHGgr4C0ZbWyOA4ZTxCsTeDwY NT8XSmFrGxejbl/2HRc/HcsfasEc2Ckkmy+ZcpFaLXlM5caYYVRUVN2p6cwlgBHl7flv pkfA==
X-Gm-Message-State: AOAM530nacFZBj8JjgDr86oRe4Ue5oValWaGcKEab7q5d9NlJQ8nkpdC FMYxPMxAdEkx7jzPS6YSrJFQOj5FuXU3WfDYNZ0v9vQp
X-Google-Smtp-Source: ABdhPJyIbh7PS8HHGQwZpD8mlnKWNbm1b+fgICAM+1h9T8y+UkWSuYaNTfkWTK8Wnk7Ij9SoufkAOIscSqUwRTVVICU=
X-Received: by 2002:a9f:3806:: with SMTP id p6mr23746596uad.101.1593710968643; Thu, 02 Jul 2020 10:29:28 -0700 (PDT)
MIME-Version: 1.0
From: "Murray S. Kucherawy" <superuser@gmail.com>
Date: Thu, 02 Jul 2020 10:29:17 -0700
Message-ID: <CAL0qLwZGum3X3SGH8EQGdH+cZuOjSsEyQad1Tk3Q=HyuthXvvQ@mail.gmail.com>
To: media-types@ietf.org
Content-Type: multipart/alternative; boundary="00000000000029230e05a978c09f"
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/Sv8oT38p1nWHPYZQmnL_9GPjeic>
Subject: [media-types] Media subtypes containing "+"
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.29
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: Thu, 02 Jul 2020 17:29:34 -0000

Before I joined the IESG, we (the media type reviewers) processed a request
for a media type that included a "+" character.  Specifically, the request
was to register "application/ld+json", and an implied media type suffix of
"+ld+json".  This was a revision to an existing media type.

It included an implicit media type suffix registration, i.e., prose that
said:

"Other specifications MAY create further structured subtypes by using +ld+json
as a suffix for a new base subtype, as in application/example+ld+json.
Unless defined otherwise, such subtypes use the same fragment identifier
behavior as application/ld+json."

We had the applicant remove this text and instead suggest that they need to
register "+ld+json" independently as a media type suffix, but that such a
registration would likely be denied until such time as the community has
had a chance to discuss its implications.

The question is around nested suffixes like this.  There's already a
"+json", of course, but we should probably be clear someplace (maybe an
"updates" document to 6838, maybe a revision) about how to process these if
we're going to allow them.  One might think that "+json+zstd", for example,
would do the "obvious" thing, but that's not the kind of thing that should
be left to interpretation.

More generally, if I were to see application/foobar+a+b+c, should I be
looking for one suffix called "+a+b+c", or three individually named
suffixes, or other combinations, and in what order would they be applied,
etc.?

-MSK