Re: [Sip] Support for Multipart/MIME

Gonzalo Camarillo <Gonzalo.Camarillo@ericsson.com> Sun, 27 May 2007 19:23 UTC

Return-path: <sip-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1HsOKW-000438-1S; Sun, 27 May 2007 15:23:04 -0400
Received: from sip by megatron.ietf.org with local (Exim 4.43) id 1HsOKV-000413-3T for sip-confirm+ok@megatron.ietf.org; Sun, 27 May 2007 15:23:03 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1HsOKU-00040v-Q1 for sip@ietf.org; Sun, 27 May 2007 15:23:02 -0400
Received: from mailgw4.ericsson.se ([193.180.251.62]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1HsOKU-00070A-4F for sip@ietf.org; Sun, 27 May 2007 15:23:02 -0400
Received: from mailgw4.ericsson.se (unknown [127.0.0.1]) by mailgw4.ericsson.se (Symantec Mail Security) with ESMTP id A4EA12058F; Sun, 27 May 2007 21:23:01 +0200 (CEST)
X-AuditID: c1b4fb3e-ad9eabb0000061ca-9c-4659da951dc0
Received: from esealmw126.eemea.ericsson.se (unknown [153.88.254.123]) by mailgw4.ericsson.se (Symantec Mail Security) with ESMTP id 8C0F42023D; Sun, 27 May 2007 21:23:01 +0200 (CEST)
Received: from esealmw128.eemea.ericsson.se ([153.88.254.172]) by esealmw126.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830); Sun, 27 May 2007 21:23:00 +0200
Received: from mail.lmf.ericsson.se ([131.160.11.50]) by esealmw128.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830); Sun, 27 May 2007 21:23:00 +0200
Received: from [131.160.126.28] (rvi2-126-28.lmf.ericsson.se [131.160.126.28]) by mail.lmf.ericsson.se (Postfix) with ESMTP id F28092467; Sun, 27 May 2007 22:22:59 +0300 (EEST)
Message-ID: <4659DA93.9040702@ericsson.com>
Date: Sun, 27 May 2007 22:22:59 +0300
From: Gonzalo Camarillo <Gonzalo.Camarillo@ericsson.com>
User-Agent: Thunderbird 1.5.0.10 (Windows/20070221)
MIME-Version: 1.0
To: Paul Kyzivat <pkyzivat@cisco.com>
Subject: Re: [Sip] Support for Multipart/MIME
References: <7374777208BDC7449D5620EF9423256703F85957@esealmw113.eemea.ericsson.se> <0ee901c7931e$dd43f9b0$c4a36b80@amer.cisco.com> <1ECE0EB50388174790F9694F77522CCF106564B4@zrc2hxm0.corp.nortel.com> <4643B58A.3060407@cisco.com> <464ABDD6.9000503@ericsson.com> <464AF68A.4010105@cisco.com> <1ECE0EB50388174790F9694F77522CCF10788B8C@zrc2hxm0.corp.nortel.com> <4653FA1F.7050008@ericsson.com> <46545100.5040707@cisco.com> <46545DA4.7070108@cisco.com>
In-Reply-To: <46545DA4.7070108@cisco.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 27 May 2007 19:23:00.0614 (UTC) FILETIME=[707C3260:01C7A094]
X-Brightmail-Tracker: AAAAAA==
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 5a9a1bd6c2d06a21d748b7d0070ddcb8
Cc: sip@ietf.org, Francois Audet <audet@nortel.com>, Dan Wing <dwing@cisco.com>, "Christer Holmberg (JO/LMF)" <christer.holmberg@ericsson.com>
X-BeenThere: sip@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Session Initiation Protocol <sip.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/sip>, <mailto:sip-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:sip@ietf.org>
List-Help: <mailto:sip-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/sip>, <mailto:sip-request@ietf.org?subject=subscribe>
Errors-To: sip-bounces@ietf.org

Hi Paul,

I have added a few guidelines about this in Section 5 of the new version 
of the draft:

http://users.piuha.net/gonzalo/temp/draft-camarillo-sip-body-handling-01.txt

With those guidelines and the behavior defined in other sections, we 
should be OK. Let me know if you agree or want to add further 
clarifications or behavior.

Thanks,

Gonzalo


Paul Kyzivat wrote:
> Revising one point:
> 
> Paul Kyzivat wrote:
> 
>> - What "handling" value should be used for multipart bodies and the 
>> contained body parts?
>>
>> If a body part is referenced by a cid: url in a header (or in another 
>> body part I suppose), then the handling of the body part should be 
>> required.
> 
> On reflection, this is tricky.
> 
> If the header containing the reference is optional (as most are), then 
> recipients that don't understand the header will have no need for the 
> referenced part. If it were required and they don't support the type, 
> then they would fail the request. This is bad.
> 
> So if processing of the header is optional, then the referenced body 
> part should have optional handling.
> 
> But then there could be a problem if the recipient does understand and 
> process the header, but doesn't understand the body part, and so because 
> it is optional doesn't process it. In that case, the cid reference will 
> be unsatisfied. This could also result in an inappropriate error.
> 
> I think the solution here is that if a header contains a cid url, and if 
> that url cannot be resolved to a body part that is supported, then the 
> UA should treat it the same as if the header itself was not understood - 
> typically ignoring it unless there is a Require in effect that demands 
> failing the request.
> 
> An alternative is to require that Content-ID be remembered even for 
> parts that are not understood, so that references can be resolved even 
> if they can't be processed. This would allow more precise errors to be 
> generated. This wouldn't be so hard at an outer level, but it might be 
> troublesome in conjunction with nesting.
> 
>     Paul



_______________________________________________
Sip mailing list  https://www1.ietf.org/mailman/listinfo/sip
This list is for NEW development of the core SIP Protocol
Use sip-implementors@cs.columbia.edu for questions on current sip
Use sipping@ietf.org for new developments on the application of sip