[SIPForum-discussion] a question about "Content-Length"

Tomasz Zieleniewski tzieleniewski at gmail.com
Fri Mar 20 09:25:00 UTC 2009


Hi,

Content-Length header does not include the CRLF which seperates
the header field and body parts of the SIP message.

Regards
Tomasz Zieleniewski

The size of the message-body does not include the CRLF separating
   header fields and body



2009/3/19 jiangchangwu <jc_wu at live.com>

>    Dear All,
>
>  i have a question about "Content-Length"
>     in   rfc3261  [Page 209]
>
>
>       INVITE sip:bob at biloxi.com <sip%3Abob at biloxi.com> SIP/2.0
>       Via: SIP/2.0/UDP pc33.atlanta.com;branch=z9hG4bKnashds8
>       To: Bob <bob at biloxi.com>
>       From: Alice <alice at atlanta.com>;tag=1928301774
>       Call-ID: a84b4c76e66710
>       CSeq: 314159 INVITE
>       Max-Forwards: 70
>       Date: Thu, 21 Feb 2002 13:02:03 GMT
>       Contact: <sip:alice at pc33.atlanta.com <sip%3Aalice at pc33.atlanta.com>>
>       Content-Type: application/sdp
>       *Content-Length: 147*
>       v=0
>       o=UserA 2890844526 2890844526 IN IP4 here.com
>       s=Session SDP
>       c=IN IP4 pc33.atlanta.com
>       t=0 0
>       m=audio 49172 RTP/AVP 0
>       a=rtpmap:0 PCMU/8000
>
> I counted about the length of message-body
>
> it is *148*
>
> now i don‘t donw the length is 147 or 148.
>  if mistake the length , what will happens?
> thanks for your Advance
>
>
>
>
> ------------------------------
> 更多热辣资讯尽在新版MSN首页! 立刻访问! <http://cn.msn.com/>
>
> _______________________________________________
> This is the SIP Forum discussion mailing list
> TO UNSUBSCRIBE, or edit your delivery options, please visit
> http://sipforum.org/mailman/listinfo/discussion
> Post to the list at discussion at sipforum.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sipforum.org/pipermail/discussion/attachments/20090320/0afc6cc8/attachment-0002.html>


More information about the discussion mailing list