Return-Path: <pkyzivat@alum.mit.edu>
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 172041A8AB5
 for <sipcore@ietfa.amsl.com>; Thu,  3 Dec 2015 07:34:23 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.235
X-Spam-Level: 
X-Spam-Status: No, score=-1.235 tagged_above=-999 required=5
 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
 SPF_SOFTFAIL=0.665] autolearn=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 pi0uS9iJKGSJ for <sipcore@ietfa.amsl.com>;
 Thu,  3 Dec 2015 07:34:21 -0800 (PST)
Received: from resqmta-ch2-10v.sys.comcast.net
 (resqmta-ch2-10v.sys.comcast.net [IPv6:2001:558:fe21:29:69:252:207:42])
 (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits))
 (No client certificate requested)
 by ietfa.amsl.com (Postfix) with ESMTPS id A37251A8A96
 for <sipcore@ietf.org>; Thu,  3 Dec 2015 07:34:21 -0800 (PST)
Received: from resomta-ch2-13v.sys.comcast.net ([69.252.207.109])
 by resqmta-ch2-10v.sys.comcast.net with comcast
 id p3Yl1r0042N9P4d013aLjM; Thu, 03 Dec 2015 15:34:20 +0000
Received: from Paul-Kyzivats-MacBook-Pro.local ([73.218.51.154])
 by resomta-ch2-13v.sys.comcast.net with comcast
 id p3aK1r00c3KdFy1013aL8K; Thu, 03 Dec 2015 15:34:20 +0000
To: "Dale R. Worley" <worley@ariadne.com>,
 Christer Holmberg <christer.holmberg@ericsson.com>
References: <87wpsvwqen.fsf@hobgoblin.ariadne.com>
From: Paul Kyzivat <pkyzivat@alum.mit.edu>
Message-ID: <566060FB.9080508@alum.mit.edu>
Date: Thu, 3 Dec 2015 10:34:19 -0500
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0)
 Gecko/20100101 Thunderbird/38.3.0
MIME-Version: 1.0
In-Reply-To: <87wpsvwqen.fsf@hobgoblin.ariadne.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net;
 s=q20140121; t=1449156860;
 bh=L/sxU8UCXjMLnHyQ+NcwM+M//+ktRjJbxG+CvKJYdSY=;
 h=Received:Received:Subject:To:From:Message-ID:Date:MIME-Version:
 Content-Type;
 b=mJia/H9ydlD9FI0lyDNuFPwSO8AUcudhcj+OlkeHRSPjQW60xmTb/I8gAtQxIGYj0
 +qZygRMpctbULLPSyOM+hzRAL7/SXnAEH448zg6JG938sZKk6FaVT+eYY2iHkWPCSb
 LLzKCtyBuHMh3tKrTFlQAvCRSxN6S0i0g7auTFlffLTE/r6SG/p4dcJjGRgHozZjPK
 p3YSAfHNSSyUfSztxUedSOVPsXqXyEmGaCpI6qrDHbyWhXbOR9KUW5FJNa6+i4/3mP
 uAVTIrVbZ7rKIinYKAP427YrWvHjtIJBnwkid3ORZiRXq3R+P/qMziArxxC3ocbOuk
 vHtnCcoYmQivA==
Archived-At: <http://mailarchive.ietf.org/arch/msg/sipcore/TWe0SPnQcC0ECbo60oXwd2Lafe8>
Cc: 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 15:34:23 -0000

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


