The Content-Length header is required with TCP. You must use: Content-Length: 0
>From RFC 3261, section 18.3 Framing In the case of stream-oriented transports such as TCP, the Content- Length header field indicates the size of the body. The Content- Length header field MUST be used with stream oriented transports. cheers, (-:bob Robert F. Penfield Chief Software Architect Acme Packet, Inc. 71 Third Avenue Burlington, MA 01803 [EMAIL PROTECTED] ----- Original Message ----- From: "Isaac Dudy" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Tuesday, August 02, 2005 10:11 AM 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
