SIP requires that you always have a Content-Length.

20.14 Content-Length

   The Content-Length header field indicates the size of the message-
   body, in decimal number of octets, sent to the recipient.
   Applications SHOULD use this field to indicate the size of the
   message-body to be transferred, regardless of the media type of the
   entity.  If a stream-based protocol (such as TCP) is used as
   transport, the header field MUST be used.

Regards,

Attila

Attila Sipos
Let's talk Business, Let's talk VoIP
http://www.vegastream.com


>> -----Original Message-----
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] Behalf 
>> Of Isaac Dudy
>> Sent: 02 August 2005 09:11
>> To: [email protected]
>> Subject: [Sip-implementors] Sending message without body with TCP
>> 
>> 
>> Hi all.
>> 
>> Quick question:
>> Should sip message without a body sent in TCP, have a Content-Length
>> header with the value zero, or can the header be omitted ? 
>> 
>> Thanks in advance,
>> David Isaac.
>> 
>> _______________________________________________
>> Sip-implementors mailing list
>> [email protected]
>> http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors
>> 

_______________________________________________
Sip-implementors mailing list
[email protected]
http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors

Reply via email to