Re: [core] draft-ietf-core-multipart-ct

Jim Schaad <ietf@augustcellars.com> Thu, 14 February 2019 05:29 UTC

Return-Path: <ietf@augustcellars.com>
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 6526B130F99; Wed, 13 Feb 2019 21:29:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] 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 a9qL5Txa8f3G; Wed, 13 Feb 2019 21:29:43 -0800 (PST)
Received: from mail2.augustcellars.com (augustcellars.com [50.45.239.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DFEA7130FCB; Wed, 13 Feb 2019 21:29:42 -0800 (PST)
Received: from Jude (73.180.8.170) by mail2.augustcellars.com (192.168.0.56) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 13 Feb 2019 21:29:11 -0800
From: Jim Schaad <ietf@augustcellars.com>
To: 'Klaus Hartke' <hartke@projectcool.de>
CC: <draft-ietf-core-multipart-ct@ietf.org>, <core@ietf.org>
References: <000901d4c2f8$4b69a640$e23cf2c0$@augustcellars.com> <CAAzbHvYMp7w=mHB8tAifEwEpY26C96SZRjZX8Q9M5w+J_C3+qA@mail.gmail.com>
In-Reply-To: <CAAzbHvYMp7w=mHB8tAifEwEpY26C96SZRjZX8Q9M5w+J_C3+qA@mail.gmail.com>
Date: Wed, 13 Feb 2019 21:29:07 -0800
Message-ID: <000001d4c426$36acc280$a4064780$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Outlook 16.0
Thread-Index: AQHZeLzgd60hRSXGqZKN3jc6SJcBfgFxWGrPpcnPMjA=
Content-Language: en-us
X-Originating-IP: [73.180.8.170]
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/RnHy1hqOg6vF0AecE7tze3P4hj0>
Subject: Re: [core] draft-ietf-core-multipart-ct
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.29
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: Thu, 14 Feb 2019 05:29:45 -0000


> -----Original Message-----
> From: Klaus Hartke <hartke@projectcool.de>
> Sent: Tuesday, February 12, 2019 9:50 AM
> To: Jim Schaad <ietf@augustcellars.com>
> Cc: draft-ietf-core-multipart-ct@ietf.org; core@ietf.org WG <core@ietf.org>
> Subject: Re: [core] draft-ietf-core-multipart-ct
> 
> For context: [1] [2]
> 
> Jim Schaad wrote:
> > If you say ACCEPT 62, do you accept any combination of nested content
> types?
> 
> Yes. A CoAP request can include at most one Accept option and any response
> must exactly that value as Content-Format or be an error response. CoAP
> doesn't have a mechanism for negotiating the content formats of
> representations embedded in other representations. I stumbled upon the
> same problem with CoRAL.
> 
> > Should something about this be placed into the draft?
> 
> Yes. Proposed text: "CoAP doesn't have a mechanism for negotiating the
> content formats of representations embedded in application/multipart-core
> representations."

Potentially add

"This is generally not an issue as an application is going to return either a fixed set of embedded content types.
Applications which have a need to return different sets of content formats embedded in an application/multipart-core content can negotiate this as a query parameter."

I am not sure that this is the correct wording, but I think providing guidance on a way to handle this problem is reasonable.

Jim
 
> 
> > Also I note that this draft is currently expired and needs to be reposted.
> 
> Yes. Soon™.
> 
> Klaus
> 
> [1]
> https://mailarchive.ietf.org/arch/msg/ace/L1QPw1zHAj15nsKMe8AFDu6dcm
> I
> [2] https://mailarchive.ietf.org/arch/msg/ace/vj5CYF8eRrra5yph2Z9ui3Gkllk