RE: [Sip] Support for Multipart/MIME

"Christer Holmberg \(JO/LMF\)" <christer.holmberg@ericsson.com> Fri, 11 May 2007 05:52 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 1HmO3N-0003Gf-8U; Fri, 11 May 2007 01:52:33 -0400
Received: from sip by megatron.ietf.org with local (Exim 4.43) id 1HmO3L-0003Ed-45 for sip-confirm+ok@megatron.ietf.org; Fri, 11 May 2007 01:52:31 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1HmO3K-0003D6-Nq for sip@ietf.org; Fri, 11 May 2007 01:52:30 -0400
Received: from mailgw3.ericsson.se ([193.180.251.60]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1HmO3J-0002XH-8l for sip@ietf.org; Fri, 11 May 2007 01:52:30 -0400
Received: from mailgw3.ericsson.se (unknown [127.0.0.1]) by mailgw3.ericsson.se (Symantec Mail Security) with ESMTP id BEA0920BD1; Fri, 11 May 2007 07:52:28 +0200 (CEST)
X-AuditID: c1b4fb3c-a7ce9bb0000073d5-bf-4644049c303d
Received: from esealmw126.eemea.ericsson.se (unknown [153.88.254.123]) by mailgw3.ericsson.se (Symantec Mail Security) with ESMTP id A81202041B; Fri, 11 May 2007 07:52:28 +0200 (CEST)
Received: from esealmw113.eemea.ericsson.se ([153.88.200.4]) by esealmw126.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830); Fri, 11 May 2007 07:52:28 +0200
x-mimeole: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [Sip] Support for Multipart/MIME
Date: Fri, 11 May 2007 07:52:26 +0200
Message-ID: <7374777208BDC7449D5620EF9423256703F8608C@esealmw113.eemea.ericsson.se>
In-Reply-To: <4643F0E3.5040802@cisco.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: [Sip] Support for Multipart/MIME
Thread-Index: AceThNFS46GzuMWkQ/mZJ2NE3Nc2BQACtDSw
References: <7374777208BDC7449D5620EF9423256703F85F39@esealmw113.eemea.ericsson.se> <118a01c79372$29fc3da0$c4a36b80@amer.cisco.com> <7374777208BDC7449D5620EF9423256703F85F6E@esealmw113.eemea.ericsson.se> <4643F0E3.5040802@cisco.com>
From: "Christer Holmberg (JO/LMF)" <christer.holmberg@ericsson.com>
To: Paul Kyzivat <pkyzivat@cisco.com>
X-OriginalArrivalTime: 11 May 2007 05:52:28.0431 (UTC) FILETIME=[8ED5F9F0:01C79390]
X-Brightmail-Tracker: AAAAAA==
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 8b431ad66d60be2d47c7bfeb879db82c
Cc: sip@ietf.org, Dan Wing <dwing@cisco.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, 

>>>* if they're out of sync, which one takes precedence (that is, do I 
>>>process a Content-Type that isn't listed in the
>>>Content-Type-List?)
> 
>I'm with Dan on this. Also, this is well trodden ground in 
>email, and they haven't found a need for this.

Email does not have the same real-time requirements which SIP has.

>>The Content-Type contains "multipart/*", while the Content-Type-List 
>>contains the types (app/sdp, app/isup, app/whatever etc) 
>>within that multipart.
>> 
>>Please note that I am talking about SIP headers, not in the MIME 
>>bodies (of course, if a MIME body contains another multipart/*, the 
>>header could perhaps also be used there).
> 
>There really isn't any difference between sip headers and 
>mime headers. 
>From a mime perspective the entire sip message is just a 
>bunch of mime headers including some that are extension headers.

My point was that you can't determine what types of MIME bodies you have
simply by taking the whole SIP message and performing a string search on
"Content-Type". Because, some of the Content-Types you will find may not
describe what is in a MIME body - it may be part of the MIME body data.

-----boundary

Content-Type: protocol/sip

To: blahblah@telecom.com
From: dododo@telecom.com
Content-Type: application/pidf+xml
  
  <?xml version="1.0" encoding="UTF-8"?>
     <presence xmlns="urn:ietf:params:xml:ns:pidf"
  ...

-----boundary

In this example the string search will find two "Content-Type", but only
one of them actually describes the content of the MIME body, while the
other is just data inside that body.

Regards,

Christer


_______________________________________________
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