message-header is defined as:
message-header = (Accept
/ Accept-Encoding
[...]
/ WWW-Authenticate
/ extension-header) CRLF
CRLF is already present :-)
Paul Kyzivat wrote:
>I was just looking at the bnf in 3261. I may just be addled today, but I
>think I see a gross error:
>
>there seems to be nothing saying that headers are terminated by CRLF!
>
>Here are some snippets from the syntax:
>
>==============================================================
>Request = Request-Line
> *( message-header )
> CRLF
> [ message-body ]
>
>message-header = (Accept
>...
> / CSeq
>...
>
>CSeq = "CSeq" HCOLON 1*DIGIT LWS Method
>
>Method = INVITEm / ACKm / OPTIONSm / BYEm
> / CANCELm / REGISTERm
> / extension-method
>INVITEm = %x49.4E.56.49.54.45 ; INVITE in caps
>extension-method = token
>==============================================================
>
>That is enough to see that nothing specifies that there should be a CRLF
>at the end of each message-header.
>
>Looks to me that the syntax ought to be changed to:
>
>
>==============================================================
>Request = Request-Line
> *( message-header CRLF)
> CRLF
> [ message-body ]
>
>Response = Status-Line
> *( message-header CRLF)
> CRLF
> [ message-body ]
>==============================================================
>
>What am I missing?
>
>I took a look in bugzilla but didn't find anything.
>
> Paul
>_______________________________________________
>Sip-implementors mailing list
>[email protected]
>https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors
>
>
>
>
_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors