Re: [sipcore] Content-Disposition questions

Christer Holmberg <christer.holmberg@ericsson.com> Fri, 13 March 2015 11:18 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 472F61A011D for <sipcore@ietfa.amsl.com>; Fri, 13 Mar 2015 04:18:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.201
X-Spam-Level:
X-Spam-Status: No, score=-4.201 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 kG-y1unwAQ-n for <sipcore@ietfa.amsl.com>; Fri, 13 Mar 2015 04:18:23 -0700 (PDT)
Received: from sesbmg23.ericsson.net (sesbmg23.ericsson.net [193.180.251.37]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2A0CC1A0110 for <sipcore@ietf.org>; Fri, 13 Mar 2015 04:18:22 -0700 (PDT)
X-AuditID: c1b4fb25-f79126d000004b89-ec-5502c77dc96b
Received: from ESESSHC009.ericsson.se (Unknown_Domain [153.88.253.124]) by sesbmg23.ericsson.net (Symantec Mail Security) with SMTP id DB.A4.19337.D77C2055; Fri, 13 Mar 2015 12:18:21 +0100 (CET)
Received: from ESESSMB209.ericsson.se ([169.254.9.214]) by ESESSHC009.ericsson.se ([153.88.183.45]) with mapi id 14.03.0210.002; Fri, 13 Mar 2015 12:18:20 +0100
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Paul Kyzivat <pkyzivat@alum.mit.edu>, "sipcore@ietf.org" <sipcore@ietf.org>
Thread-Topic: [sipcore] Content-Disposition questions
Thread-Index: AdBaY9SoDDjiuJSCSNy+9rzo9dcbwwAG+ntAACLKJ7AAAKAUgAAK9kqAAANbhKT///mIAP/7ifWQ
Date: Fri, 13 Mar 2015 11:18:20 +0000
Message-ID: <7594FB04B1934943A5C02806D1A2204B1D7396B4@ESESSMB209.ericsson.se>
References: <7594FB04B1934943A5C02806D1A2204B1D73005D@ESESSMB209.ericsson.se> <F81CEE99482EFE438DAE2A652361EE121E2B6D17@MCHP04MSX.global-ad.net> <7594FB04B1934943A5C02806D1A2204B1D7335FB@ESESSMB209.ericsson.se> <F81CEE99482EFE438DAE2A652361EE121E2B7B82@MCHP04MSX.global-ad.net>, <54FF04D9.7020609@alum.mit.edu> <7594FB04B1934943A5C02806D1A2204B1D7342B7@ESESSMB209.ericsson.se> <54FF15F4.9040006@alum.mit.edu>
In-Reply-To: <54FF15F4.9040006@alum.mit.edu>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [153.88.183.19]
Content-Type: text/plain; charset="windows-1255"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrILMWRmVeSWpSXmKPExsUyM+JvjW7tcaZQgzs7ZSxWbDjAavH1xyY2 ByaPv+8/MHksWfKTKYApissmJTUnsyy1SN8ugSvjTedftoKtChVHP/1kb2Dskepi5OSQEDCR +Dh9MTOELSZx4d56ti5GLg4hgSOMEn/nTGSCcJYwSnR8XcvexcjBwSZgIdH9TxukQUQgUOLq kglgzcJAg9Z9+M0CUiIiYCqxb1kcREmUxP+eJ2AlLAKqEo9fbmABsXkFfCUuf1kKNX4hs8SR L88YQRKcAjoSn890s4HYjEAHfT+1hgnEZhYQl7j1ZD4TxKECEkv2nIc6WlTi5eN/rBC2okT7 0wZGiHoDiXPbN7JD2NoSyxa+ZoZYLChxcuYTlgmMorOQjJ2FpGUWkpZZSFoWMLKsYhQtTi1O yk03MtZLLcpMLi7Oz9PLSy3ZxAiMk4NbfqvuYLz8xvEQowAHoxIP74cuplAh1sSy4srcQ4zS HCxK4rx2xodChATSE0tSs1NTC1KL4otKc1KLDzEycXBKNTCWXfHP7lNuc9770zYpx2qN7qHp 66wO9N52W3PiybLTBt/WnV7x1iByjeuHj9PWREjz6Pi/5ROZ1qM951yERdX6iXrHGn879xda Nhr07d0b5XXmPM+56zoNOt+2Pr5/Ve7Usi6hjJm3Fj3p+2l4PvW+4+pdMYv56u6/aumNKJxc U7xuMevbtYaxSizFGYmGWsxFxYkAskeVSnQCAAA=
Archived-At: <http://mailarchive.ietf.org/arch/msg/sipcore/v2rsXlQ74WaGbuFIs0nQvkgDN6Y>
Subject: Re: [sipcore] Content-Disposition questions
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: <http://www.ietf.org/mail-archive/web/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: Fri, 13 Mar 2015 11:18:25 -0000

Hi,

Related to this, I see that Content-Disposition is not mentioned in RFC 6442 (Location Conveyance for the Session Initiation Protocol). 

(This was also mentioned in ECRIT at one point: http://www.ietf.org/mail-archive/web/ecrit/current/msg08517.html)

So, that basically means that the default disposition type for the XML body is "render", which I don't think fits very well.

In addition, assuming the default handling value is "required", it also means that endpoints must support the XML body. But, perhaps that's ok.

Regards,

Christer

-----Original Message-----
From: Paul Kyzivat [mailto:pkyzivat@alum.mit.edu] 
Sent: 10. maaliskuuta 2015 18:04
To: Christer Holmberg; sipcore@ietf.org
Subject: Re: [sipcore] Content-Disposition questions

On 3/10/15 11:27 AM, Christer Holmberg wrote:
> Hi Paul,
>
> It is not the default handling value that is different for the 
> qsig/isup bodies - it is the default type value ("signal", rather than "render").

I know they define the default disposition type for those mime types.
But I thought Thomas was also saying that they change the default handling to "optional", and I was commenting on the relevance of that part. If you include a qsig mime body, and don't include a C-D with handling="optional" then a recipient that doesn't know the mime type should treat it as "required" and reject the request, regardless of what defaults are defined for that mime type.

> I am not sure I agree with Thomas that a SIP client must support the 
> qsig/isup bodies. Yes, 3261 does reference the CR, but mostly for 
> information regarding the C-D header field itself.

I agree with you. Classifying a reference as normative doesn't mean that every aspect of that draft is required. And the only body reference in
3261 is wrt the definition of the handling parameter. And 3204 goes out of its way to say:

    The Content-Disposition header [5] may be included to describe how
    the encapsulated ISUP is to be processed, and in particular what the
    handling should be if the received Content-Type is not recognized.

That would make no sense if all SIP UA were required to recognize ISUP.

	Thanks,
	Paul

> Regards,
>
> Christer
>
> Sent from my Windows Phone
> ----------------------------------------------------------------------
> --
> From: Paul Kyzivat <mailto:pkyzivat@alum.mit.edu>
> Sent: ‎10/‎03/‎2015 16:58
> To: sipcore@ietf.org <mailto:sipcore@ietf.org>
> Subject: Re: [sipcore] Content-Disposition questions
>
> On 3/10/15 5:45 AM, Stach, Thomas wrote:
>
>>> QUESTION_2: If, for a specific message body, the "render" default 
>>> type can be overwritten, shouldn't that be mentioned in 3261?
>>
>> I think this is already written down. The last sentence in section 20.11 reads
>> "   If this header field is missing, the MIME type determines the default
>>     content disposition.  If there is none, "render" is assumed."
>>
>> So, if the MIME type is understood, the default disposition from the 
>> corresponding MIME definition applies. Of course, this default 
>> disposition can be overwritten by sending a corresponding C-D header field, as e.g. ECMA-355 does for "qsig".
>> "render" kicks in, only if the MIME type is not understood and if C-D is omitted.
>> Does this make sense?
>
> That has a problem. It makes no sense to define a default handling 
> parameter value for a specific mime type that applies when the C-D 
> isn't present. Suppose you define a mime type where the default 
> handling is "optional".
>
> Then a receiver that does understand the mime type will treat the 
> handling as optional, but that is irrelevant because this only applies 
> if the mime type is not understood.
>
> A receiver that does not understand the mime type will use the global 
> default handling value "required".
>
>          Thanks,
>          Paul
>
>
>
> _______________________________________________
> sipcore mailing list
> sipcore@ietf.org
> https://www.ietf.org/mailman/listinfo/sipcore