Re: [core] multipart/core

Carsten Bormann <cabo@tzi.org> Wed, 06 June 2018 14:55 UTC

Return-Path: <cabo@tzi.org>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3C109130F4C for <core@ietfa.amsl.com>; Wed, 6 Jun 2018 07:55:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level:
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3] autolearn=ham autolearn_force=no
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 Y8o6szp5EZFJ for <core@ietfa.amsl.com>; Wed, 6 Jun 2018 07:55:10 -0700 (PDT)
Received: from mailhost.informatik.uni-bremen.de (mailhost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9::12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A71B8130DCA for <core@ietf.org>; Wed, 6 Jun 2018 07:55:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from submithost.informatik.uni-bremen.de (submithost.informatik.uni-bremen.de [134.102.201.11]) by mailhost.informatik.uni-bremen.de (8.14.5/8.14.5) with ESMTP id w56Et1En006853; Wed, 6 Jun 2018 16:55:01 +0200 (CEST)
Received: from client-0208.vpn.uni-bremen.de (client-0208.vpn.uni-bremen.de [134.102.107.208]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by submithost.informatik.uni-bremen.de (Postfix) with ESMTPSA id 411BY16DJYzDXNF; Wed, 6 Jun 2018 16:55:01 +0200 (CEST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 11.4 \(3445.8.2\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <1677921f-3c58-9aa4-747f-89b6a4297f52@isode.com>
Date: Wed, 06 Jun 2018 16:54:54 +0200
Cc: peter van der Stok <consultancy@vanderstok.org>, Michael Richardson <mcr+ietf@sandelman.ca>, core <core@ietf.org>
X-Mao-Original-Outgoing-Id: 549989692.617427-7e63420c2527ce9afa3684303b14b36e
Content-Transfer-Encoding: quoted-printable
Message-Id: <C0D4D7C5-99B7-4225-9D48-52A34ABFAFC0@tzi.org>
References: <ba113ac028c50ee08625d508a89bb169@bbhmail.nl> <CAAzbHvYRgHsSOMgYSxvQOsbZVjnCO+h2r=2LV4vS5a2yJ1s=bA@mail.gmail.com> <20273.1527881373@localhost> <CAAzbHvagy43fX2VDOrG2MzFzfV1-bsE+b7t4GkkU=1wRiiGiJA@mail.gmail.com> <5727.1528220965@localhost> <4AEB441B-CCE5-49B7-8F42-4D0BC8381BA3@ericsson.com> <b0e5e09f1aeff2f553c244013486fbab@bbhmail.nl> <F61A4181-E14F-4B58-8A0B-FE3EA30C3D09@tzi.org> <1677921f-3c58-9aa4-747f-89b6a4297f52@isode.com>
To: Alexey Melnikov <alexey.melnikov@isode.com>
X-Mailer: Apple Mail (2.3445.8.2)
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/Z7pXg-s0ja3lGLPMEY2MUzNSk7o>
Subject: Re: [core] multipart/core
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.26
Precedence: list
List-Id: "Constrained RESTful Environments \(CoRE\) Working Group list" <core.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/core>, <mailto:core-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/core/>
List-Post: <mailto:core@ietf.org>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/core>, <mailto:core-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 06 Jun 2018 14:55:14 -0000

Hi Alexey,

On Jun 6, 2018, at 16:44, Alexey Melnikov <alexey.melnikov@isode.com> wrote:
> 
> Hi,
> I would like to quickly insert AD interrupt.

getting input from the media type (and core-parameters) experts would have been next on the list.
Thank you for accelerating that input a lot :-)

> I had a quick look at draft-fossati-core-multipart-ct-04 and I think the proposed definition of multipart/core is syntactically incompatible with MIME. Please read sections 5.1 and 5.1.1 of RFC 2046. In particular, all multipart media types have to use syntax specified in RFC 2046, which this proposal violates.
> 
> To be clear, I am not against registering a media type which uses CBOR syntax for a collection of other media types. However this media type name can't use the "multipart" top level media type. You can either define a new "application" media type (e.g. application/multipart-core) or you can define a new top level media type different from "multipart". The process for definining a new top level media type is slightly more comlicated, so you should evaluate whether you want to do this.

There is no particular need to use the top-level “multipart” (or any other top-level for that matter), so we would go for an application/ top-level.

(The draft from 2013 that this new version continues wasn’t suggesting a media type name, so the not-so-well-thought-out suggestion to use multipart/ was new in this version.) 

Questions to the WG:

Anyone have a problem with the name application/multipart-core?
(It’s not visible in the CoAP exchanges, we just see the content-format identifier there.
We could discuss whether that should be a single-byte identifier; the current draft goes for a two-byte one.)

Grüße, Carsten