See more carefully:

message-header  =  (Accept
                /  Accept-Encoding
.......
 /  Warning
                /  WWW-Authenticate
                /  extension-header) CRLF
_____________________________________^^^^


В Втр, 28/02/2006 в 11:48 -0500, Paul Kyzivat пишет:
> 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
-- 
Кравченко Петр Геннадьевич
НПП "СпецСтрой Связь", НТЦ, разработчик
Тел. +7(8634)311562 доп 225
mailto: [EMAIL PROTECTED]

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

Reply via email to