RE: [Sip] Editorial question on MIME example

"Christer Holmberg" <christer.holmberg@ericsson.com> Thu, 20 December 2007 09:30 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 1J5Hjv-0002VZ-Uk; Thu, 20 Dec 2007 04:30:51 -0500
Received: from sip by megatron.ietf.org with local (Exim 4.43) id 1J5Hju-0002VD-F9 for sip-confirm+ok@megatron.ietf.org; Thu, 20 Dec 2007 04:30:50 -0500
Received: from [10.90.34.44] (helo=chiedprmail1.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1J5Hju-0002V0-3r for sip@ietf.org; Thu, 20 Dec 2007 04:30:50 -0500
Received: from mailgw3.ericsson.se ([193.180.251.60]) by chiedprmail1.ietf.org with esmtp (Exim 4.43) id 1J5Hjt-0005Ld-FD for sip@ietf.org; Thu, 20 Dec 2007 04:30:49 -0500
Received: from mailgw3.ericsson.se (unknown [127.0.0.1]) by mailgw3.ericsson.se (Symantec Mail Security) with ESMTP id 81C7820BB3; Thu, 20 Dec 2007 10:30:21 +0100 (CET)
X-AuditID: c1b4fb3c-aef95bb0000030cf-ae-476a362d7921
Received: from esealmw128.eemea.ericsson.se (unknown [153.88.254.121]) by mailgw3.ericsson.se (Symantec Mail Security) with ESMTP id 585DD21243; Thu, 20 Dec 2007 10:30:21 +0100 (CET)
Received: from esealmw113.eemea.ericsson.se ([153.88.200.4]) by esealmw128.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830); Thu, 20 Dec 2007 10:30:21 +0100
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] Editorial question on MIME example
Date: Thu, 20 Dec 2007 10:30:20 +0100
Message-ID: <CA9998CD4A020D418654FCDEF4E707DF03C50141@esealmw113.eemea.ericsson.se>
In-Reply-To: <22c301c842e8$fcdb1040$c6f0200a@cisco.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: [Sip] Editorial question on MIME example
Thread-Index: AchC5DzADDOM9rrzTRaLkpP5dutlHgAAZ98gAAE1sAA=
References: <CA9998CD4A020D418654FCDEF4E707DF03C4FD1B@esealmw113.eemea.ericsson.se> <22c301c842e8$fcdb1040$c6f0200a@cisco.com>
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Dan Wing <dwing@cisco.com>, sip@ietf.org
X-OriginalArrivalTime: 20 Dec 2007 09:30:21.0126 (UTC) FILETIME=[F0E32E60:01C842EA]
X-Brightmail-Tracker: AAAAAA==
X-Spam-Score: 0.0 (/)
X-Scan-Signature: cab78e1e39c4b328567edb48482b6a69
Cc:
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, 

>>Now, as far as I know (please correct me if I am wrong) Content-Length

>>is NOT a MIME header.
> 
>Right, it isn't.  It could be argued that SIP's 
>Content-Length was taken from HTTP (RFC1945) rather than 
>MIME.  It could be argued HTTP took the idea from email -- 
>Content-Length used to be common in email headers a decade or 
>two ago (but Content-Length didn't work too well for email 
>for a variety of reasons).
>RFC2076 (February 1997) lists it, and says it was not a 
>standard email header at the time.
> 
>>If so, I guess it shouldn't be used as a MIME header (together with 
>>Content-Type, Content-Transfer-Encoding etc)?
> 
>RFC2045 does say:
> 
> Any sort of field may be present in the header of an entity,
> but only those fields whose names begin with "content-" 
> actually have any MIME-related meaning.
> 
>but of course Content-Length doesn't have any meaning to MIME 
>(neither would Content-Crayon).  But neither of those headers 
>do harm to a MIME parser, because a MIME parser ignores 
>fields it doesn't understand.
> 
> 
>I guess you're saying SIP should have used something like 
>"Length:" instead of "Content-Length:" to avoid collision 
>with MIME's self-claimed ownership of all field names that 
>begin with "Content-"?

No no.

I am not talking about the usage of Content-Lenght (or any other
Content- header) in the SIP part of the message. I was referring to the
usage of Content-Length in the MIME part of the message 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