Re: [sipcore] Content-Disposition questions

"Stach, Thomas" <thomas.stach@unify.com> Tue, 10 March 2015 16:48 UTC

Return-Path: <thomas.stach@unify.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 ABA201A00E4 for <sipcore@ietfa.amsl.com>; Tue, 10 Mar 2015 09:48:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.61
X-Spam-Level:
X-Spam-Status: No, score=-2.61 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, T_RP_MATCHES_RCVD=-0.01] 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 Q5Z3xSVR2GAX for <sipcore@ietfa.amsl.com>; Tue, 10 Mar 2015 09:48:10 -0700 (PDT)
Received: from mx12.unify.com (mx12.unify.com [62.134.46.10]) by ietfa.amsl.com (Postfix) with ESMTP id AC20A1A00D6 for <sipcore@ietf.org>; Tue, 10 Mar 2015 09:48:09 -0700 (PDT)
Received: from MCHP02HTC.global-ad.net (unknown [172.29.42.235]) by mx12.unify.com (Server) with ESMTP id 2BA6523F04D7; Tue, 10 Mar 2015 17:48:08 +0100 (CET)
Received: from MCHP04MSX.global-ad.net ([169.254.1.173]) by MCHP02HTC.global-ad.net ([172.29.42.235]) with mapi id 14.03.0224.002; Tue, 10 Mar 2015 17:48:07 +0100
From: "Stach, Thomas" <thomas.stach@unify.com>
To: Paul Kyzivat <pkyzivat@alum.mit.edu>, Christer Holmberg <christer.holmberg@ericsson.com>, "sipcore@ietf.org" <sipcore@ietf.org>
Thread-Topic: [sipcore] Content-Disposition questions
Thread-Index: AdBaY9SoDDjiuJSCSNy+9rzo9dcbwwAG+ntAACLKJ7AAAKAUgAAPnNEZAAChmLA=
Date: Tue, 10 Mar 2015 16:48:07 +0000
Message-ID: <F81CEE99482EFE438DAE2A652361EE121E2B8772@MCHP04MSX.global-ad.net>
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: de-AT, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [172.29.42.225]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/sipcore/uMSZZISNsnkt52cufvBeAWKK9-c>
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: Tue, 10 Mar 2015 16:48:11 -0000

Paul, Christer,

all of this is just a corner case, including C-D with handling=optional 
would avoid any confusion, but ...

> -----Original Message-----
> From: sipcore [mailto:sipcore-bounces@ietf.org] On Behalf Of Paul Kyzivat
> Sent: Dienstag, 10. März 2015 17: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").
No, my point was about the different handling.

> 
> 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.
Correct, 
If the UAS doesn't know about the different default handling from RFC3204, 
it rejects the request.

> 
> > I am not sure I agree with Thomas that a SIP client must support the
> > qsig/isup bodies. 
That's not what I meant. Support for qsig/isup is not needed.
However, if the UAS implemented an exception for the _handling_ 
of these 2 bodies (i.e. optional), it would just have to 
recognize application/qsig, could ignore the bodies and 
would not have to reject an INVITE with a 415.
As said above, it is just a corner case.

> 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. 
Agree

> 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.
Completely agree.

Regards
Thomas

> 
> 	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
> 
> _______________________________________________
> sipcore mailing list
> sipcore@ietf.org
> https://www.ietf.org/mailman/listinfo/sipcore