RFC Errata
RFC 6086, "Session Initiation Protocol (SIP) INFO Method and Package Framework", January 2011
Source of RFC: sipcore (rai)
Errata ID: 3167
Status: Held for Document Update
Type: Technical
Publication Format(s) : TEXT
Reported By: Dale Worley
Date Reported: 2012-03-26
Held for Document Update by: Robert Sparks
Section 12.2.2 says:
12.2.2.1. Non-Info Package Body Part
INFO sip:alice@pc33.example.com SIP/2.0
Via: SIP/2.0/UDP 192.0.2.2:5060;branch=z9hG4bKnabcdef
To: Alice <sip:alice@example.net>;tag=1234567
From: Bob <sip:bob@example.com>;tag=abcdefg
Call-Id: a84b4c76e66710@pc33.example.com
CSeq: 314400 INFO
Info-Package: foo
Content-Type: multipart/mixed;boundary="theboundary"
Content-Length: ...
--theboundary
Content-Type: application/mumble
...
<mumble stuff>
--theboundary
Content-Type: application/foo-x
Content-Disposition: Info-Package
>>>Content-length: 59
I am a foo-x message type, and I belong to Info Package foo
--theboundary--
12.2.2.2. Info Package with Multiple Body Parts inside Multipart Body
Part
INFO sip:alice@pc33.example.com SIP/2.0
Via: SIP/2.0/UDP 192.0.2.2:5060;branch=z9hG4bKnabcdef
To: Alice <sip:alice@example.net>;tag=1234567
From: Bob <sip:bob@example.com>;tag=abcdefg
Call-Id: a84b4c76e66710@pc33.example.com
CSeq: 314423 INFO
Info-Package: foo
Content-Type: multipart/mixed;boundary="theboundary"
Content-Disposition: Info-Package
Content-Length: ...
--theboundary
Content-Type: application/foo-x
>>>Content-length: 59
I am a foo-x message type, and I belong to Info Package foo
<mumble stuff>
--theboundary
Content-Type: application/foo-y
>>>Content-length: 59
I am a foo-y message type, and I belong to Info Package foo
--theboundary--
12.2.2.3. Info Package with Single Body Part inside Multipart Body Part
INFO sip:alice@pc33.example.com SIP/2.0
Via: SIP/2.0/UDP 192.0.2.2:5060;branch=z9hG4bKnabcdef
To: Alice <sip:alice@example.net>;tag=1234567
From: Bob <sip:bob@example.com>;tag=abcdefg
Call-Id: a84b4c76e66710@pc33.example.com
CSeq: 314423 INFO
Info-Package: foo
Content-Type: multipart/mixed;boundary="theboundary"
Content-Disposition: Info-Package
Content-Length: ...
--theboundary
Content-Type: application/foo-x
Content-Disposition: icon
>>>Content-length: 59
I am a foo-x message type, and I belong to Info Package foo
--theboundary--
It should say:
12.2.2.1. Non-Info Package Body Part
INFO sip:alice@pc33.example.com SIP/2.0
Via: SIP/2.0/UDP 192.0.2.2:5060;branch=z9hG4bKnabcdef
To: Alice <sip:alice@example.net>;tag=1234567
From: Bob <sip:bob@example.com>;tag=abcdefg
Call-Id: a84b4c76e66710@pc33.example.com
CSeq: 314400 INFO
Info-Package: foo
Content-Type: multipart/mixed;boundary="theboundary"
Content-Length: ...
--theboundary
Content-Type: application/mumble
...
<mumble stuff>
--theboundary
Content-Type: application/foo-x
Content-Disposition: Info-Package
I am a foo-x message type, and I belong to Info Package foo
--theboundary--
12.2.2.2. Info Package with Multiple Body Parts inside Multipart Body
Part
INFO sip:alice@pc33.example.com SIP/2.0
Via: SIP/2.0/UDP 192.0.2.2:5060;branch=z9hG4bKnabcdef
To: Alice <sip:alice@example.net>;tag=1234567
From: Bob <sip:bob@example.com>;tag=abcdefg
Call-Id: a84b4c76e66710@pc33.example.com
CSeq: 314423 INFO
Info-Package: foo
Content-Type: multipart/mixed;boundary="theboundary"
Content-Disposition: Info-Package
Content-Length: ...
--theboundary
Content-Type: application/foo-x
I am a foo-x message type, and I belong to Info Package foo
<mumble stuff>
--theboundary
Content-Type: application/foo-y
I am a foo-y message type, and I belong to Info Package foo
--theboundary--
12.2.2.3. Info Package with Single Body Part inside Multipart Body Part
INFO sip:alice@pc33.example.com SIP/2.0
Via: SIP/2.0/UDP 192.0.2.2:5060;branch=z9hG4bKnabcdef
To: Alice <sip:alice@example.net>;tag=1234567
From: Bob <sip:bob@example.com>;tag=abcdefg
Call-Id: a84b4c76e66710@pc33.example.com
CSeq: 314423 INFO
Info-Package: foo
Content-Type: multipart/mixed;boundary="theboundary"
Content-Disposition: Info-Package
Content-Length: ...
--theboundary
Content-Type: application/foo-x
Content-Disposition: icon
I am a foo-x message type, and I belong to Info Package foo
--theboundary--
Notes:
In four locations (in three examples), a Content-Length header is shown for a multipart body-part. But comparing with RFC 1521 section 7.2, Content-Length has no defined meaning within MIME, and it appears that any appearance in a body-part header must be ignored. Thus, these headers are meaningless, and the authors would probably not have included them if they had researched the subject.
(Bruno Chatras discovered this discrepancy.)
