Subject: [Sipping] Re: [Sip]Does message/cpim is a valid Content-Type in SIP

From: Marco Ambu <[email-masked]>
Date: Thu, 13 Apr 2006 16:56:06 +0200

Empty line between headers and body is always needed in a SIP message 
(see RFC3261 - BNF page 225).
So both messages should be valid SIP messages.

Xiang Ting ha scritto:
> I saw somebody assign message/cpim as Content-Type head field content
> in SIP. However, the cpim format requires a blank line between the
> Content-Type line and the cpim message header. I want to know which
> following SIP message segment is valid, or both, or neither?
>
> [snip1]
> MESSAGE sip:[email-masked] SIP/2.0
> ...
> ...
> Content-Type: message/CPIM
> Content-Length: 115
>
> NS: XX<uid:[email-masked]>
> XX.Reply: no
> Conent-Type: text/plain
>
> This is a plain text in cpim.
> [/snip1]
>
> ------------------------
>
> [snip2]
> MESSAGE sip:[email-masked] SIP/2.0
> ...
> ...
> Content-Length: 115
> Content-Type: message/CPIM
>
> NS: XX<uid:[email-masked]>
> XX.Reply: no
> Conent-Type: text/plain
>
> This is a plain text in cpim.
> [/snip2]
>
> Thanks in advance!
>
> _______________________________________________
> Sip mailing list  https://www1.ietf.org/mailman/listinfo/sip
> This list is for NEW development of the core SIP Protocol
> Use [email-masked] for questions on current sip
> Use [email-masked] for new developments on the application of sip
>
>   

_______________________________________________
Sipping mailing list  https://www1.ietf.org/mailman/listinfo/sipping
This list is for NEW development of the application of SIP
Use [email-masked] for questions on current sip
Use [email-masked] for new developments of core SIP