Re: [sipcore] Content-Disposition questions - errata suggestion
Christer Holmberg <christer.holmberg@ericsson.com> Thu, 03 December 2015 16:39 UTC
Return-Path: <christer.holmberg@ericsson.com>
X-Original-To: sipcore@ietfa.amsl.com
Delivered-To: sipcore@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 378761A90A3 for <sipcore@ietfa.amsl.com>; Thu, 3 Dec 2015 08:39:03 -0800 (PST)
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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] autolearn=ham
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 mNzEr4cFHMIF for <sipcore@ietfa.amsl.com>; Thu, 3 Dec 2015 08:39:01 -0800 (PST)
Received: from sesbmg22.ericsson.net (sesbmg22.ericsson.net [193.180.251.48]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AB54E1A9098 for <sipcore@ietf.org>; Thu, 3 Dec 2015 08:39:00 -0800 (PST)
X-AuditID: c1b4fb30-f79296d00000141d-c8-566070227cf5
Received: from ESESSHC003.ericsson.se (Unknown_Domain [153.88.183.27]) by sesbmg22.ericsson.net (Symantec Mail Security) with SMTP id B4.55.05149.22070665; Thu, 3 Dec 2015 17:38:58 +0100 (CET)
Received: from ESESSMB209.ericsson.se ([169.254.9.142]) by ESESSHC003.ericsson.se ([153.88.183.27]) with mapi id 14.03.0248.002; Thu, 3 Dec 2015 17:38:58 +0100
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Paul Kyzivat <pkyzivat@alum.mit.edu>, "Dale R. Worley" <worley@ariadne.com>
Thread-Topic: [sipcore] Content-Disposition questions - errata suggestion
Thread-Index: AQHRLdftXqEaqwAtQvODlzCb6Ml4TJ65U7OAgAAi0ys=
Date: Thu, 03 Dec 2015 16:38:58 +0000
Message-ID: <7594FB04B1934943A5C02806D1A2204B37C7DAF7@ESESSMB209.ericsson.se>
References: <87wpsvwqen.fsf@hobgoblin.ariadne.com>, <566060FB.9080508@alum.mit.edu>
In-Reply-To: <566060FB.9080508@alum.mit.edu>
Accept-Language: en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Content-Type: multipart/alternative; boundary="_000_7594FB04B1934943A5C02806D1A2204B37C7DAF7ESESSMB209erics_"
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprFIsWRmVeSWpSXmKPExsUyM2K7tK5SQUKYwcoGC4sVGw6wWnz9sYnN 4uWJMgdmj7/vPzB5TN7/ldljyZKfTAHMUVw2Kak5mWWpRfp2CVwZv//fZSuYUFjRe/oGcwNj R14XIyeHhICJxOeNW5khbDGJC/fWs4HYQgKHGSVO/VTqYuQCshczSuy9v5Spi5GDg03AQqL7 nzZIjYhAoETXzmNMIDazgKbEo517wWxhAQ+JJdtaWSBqPCWOHt/GDNIqImAl8XVlGEiYRUBF 4k3TQrBVvAK+EjdffmOGWBskcfN5A5jNKaAj0fNmIlgNI9Bp30+tgVolLtH0ZSUrxMkCEkv2 nIc6X1Ti5eN/rBA1+RJdx5tYIeYLSpyc+YRlAqPILCTts5CUzUJSNgvoUpBv1u/ShyhRlJjS /ZAdwtaQaJ0zlx1ZfAEj+ypG0eLU4qTcdCMjvdSizOTi4vw8vbzUkk2MwBg7uOW3wQ7Gl88d DzEKcDAq8fB+KI8PE2JNLCuuzD3EKMHBrCTCG+WWECbEm5JYWZValB9fVJqTWnyIUZqDRUmc t5npQaiQQHpiSWp2ampBahFMlomDU6qB0TjjecPx8p0sto/N2CMuHBc4+yjy7rGT/Q8e7Vg/ n4fxQMATK3+nVQXVq7oF03VPH37hJJblqF8ufHvvmvVJRwS6/7ALfZY7yMcc3FRY3rwxU+vW WpffH36Wu0z34HzBW6GdvDBI8MK3vWon1/h15bZ4TyuzifpZ8nT1/Rmbb1YnMx9+P3+RhBJL cUaioRZzUXEiALZQQ92tAgAA
Archived-At: <http://mailarchive.ietf.org/arch/msg/sipcore/IOv8fTG2H7Qt2QIfNyCpPB4qFvM>
Cc: "sipcore@ietf.org" <sipcore@ietf.org>
Subject: Re: [sipcore] Content-Disposition questions - errata suggestion
X-BeenThere: sipcore@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: SIP Core Working Group <sipcore.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/sipcore>, <mailto:sipcore-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/sipcore/>
List-Post: <mailto:sipcore@ietf.org>
List-Help: <mailto:sipcore-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sipcore>, <mailto:sipcore-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 03 Dec 2015 16:39:03 -0000
Hi Paul,
Möte that issue 2) is not about the handling parameter, but the content disposition type (e.g. session, render etc).
Regards,
Christer
Sent from my Windows Phone
________________________________
From: Paul Kyzivat<mailto:pkyzivat@alum.mit.edu>
Sent: 03/12/2015 17:34
To: Dale R. Worley<mailto:worley@ariadne.com>; Christer Holmberg<mailto:christer.holmberg@ericsson.com>
Cc: sipcore@ietf.org<mailto:sipcore@ietf.org>
Subject: Re: [sipcore] Content-Disposition questions - errata suggestion
On 12/3/15 9:36 AM, Dale R. Worley wrote:
> Christer Holmberg <christer.holmberg@ericsson.com> writes:
>> There were two issues:
>>
>> Issue 1) Is the default handling value "required" also if the C-D header field is not present?
>> Issue 2) Different MIME types seem to assume different default disposition types values.
>>
>> In this e-mail I focus on issue 1).
>> [...]
>> NEW TEXT:
>> "The handling parameter, handling-param, describes how the UAS should
>> react if it receives a message body whose content type or disposition
>> type it does not understand. The parameter has defined values of
>> "optional" and "required". If the handling parameter is missing, or if
>> the Content-Disposition header field is missing, the value "required"
>> MUST be assumed. The handling parameter is described in RFC 3204 [19]."
>
> That erratum makes sense to me. It seems to document what the original
> intention was.
Agree, except see below.
> The biggest change is changing SHOULD to MUST, but I
> don't see a problem with that.
I'm undecided on that, and would like to discuss.
Right now, if C-D is present, but 'handling' is missing then "required"
*SHOULD* be assumed. That of course begs the question of when it would
be appropriate to ignore the SHOULD.
If there are any valid reasons, then ISTM that they would probably also
apply when the C-D is missing.
So the real question is what, if any, conditions justify violating the
SHOULD?
> In regard to issue 2, I don't see a problem.
>
> Either the UA "understands" the particular MIME type or not.
> If it does, the UA checks for Content-Disposition.
> If Content-Disposition is present, the disp-type determines the
> handling.
> If Content-Disposition is not present, UA uses the default handling for
> the MIME type.
> If it does not, the UA checks whether handling=optional is present.
> If it is present, the UA ignores the body part.
> If it is not present, the UA rejects the request.
>
> However, I am assuming that the "default content disposition" is purely
> a disp-type (i.e., render, session, etc.), and does not include a
> handling-param.
I think I agree. The alternative would be that the default disposition
for a mime type includes a default for the handling value. (That might
be a reason for SHOULD rather than MUST above.)
But that is nonsense. To know the default disposition for a mime type
you must understand the mime type. And if you understand it, then the
handling parameter is irrelevant to you.
We may need to investigate the history of this parameter to understand
the intent. I was thinking it went back to MIME. But after cursory
searching, the earliest reference I have found is in RFC3204. That
predates 3261. It doesn't say SHOULD. Rather, it says:
If the handling parameter is missing, the value "required" is to be
assumed.
That isn't normative, but it sounds like MUST.
Thanks,
Paul
- Re: [sipcore] Content-Disposition questions - err… Christer Holmberg
- Re: [sipcore] Content-Disposition questions - err… Dale R. Worley
- Re: [sipcore] Content-Disposition questions - err… Christer Holmberg
- Re: [sipcore] Content-Disposition questions - err… Paul Kyzivat
- Re: [sipcore] Content-Disposition questions - err… Christer Holmberg