[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sip] ABNF issue



inline.

Christer Holmberg wrote:
The body does not start with LWS. The body starts with WSP (RFC3261 doesn't
define what WSP is, but if I remember correct it is SP or TAB). So, in that
case you will have:

CRLF CRLF WSP

...which, according to the ABNF is:

CRLF LWS
You are taking this out of context. It is not the case that you would parse through the message replaceing all instances of CRLF WSP with LWS.

The BNF specifies that message-header ends with a CRLF. What follows that is one of two things - either another CRLF, marking the end of the headers, or another message header, which never begins with LWS. Thus, if a CRLF is followed by something OTHER than WSP, the next construction cannot be LWS.

-Jonathan R.

--
Jonathan D. Rosenberg, Ph.D. 72 Eagle Rock Ave.
Chief Scientist First Floor
dynamicsoft East Hanover, NJ 07936
jdrosen@dynamicsoft.com FAX: (973) 952-5050
http://www.jdrosen.net PHONE: (973) 952-5000
http://www.dynamicsoft.com

_______________________________________________
Sip mailing list https://www1.ietf.org/mailman/listinfo/sip
This list is for NEW development of the core SIP Protocol
Use sip-implementors@cs.columbia.edu for questions on current sip
Use sipping@ietf.org for new developments on the application of sip