Folding is not allowed with just LF as far as I can tell...
extension-header = header-name HCOLON header-value
header-name = token
header-value = *(TEXT-UTF8char / UTF8-CONT / LWS)
LWS = [*WSP CRLF] 1*WSP ; linear whitespace
the LWS defines the "folding". You have to have the CRLF (not just LF)
Regards,
Attila
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Iñaki Baz
Castillo
Sent: 25 March 2008 15:34
To: [email protected]
Subject: Re: [Sip-implementors] Should a line folded header end each linein
CRLF?
El Tuesday 25 March 2008 16:15:58 [EMAIL PROTECTED] escribió:
> Why do you think it's valid to fold lines with LF alone? The crammer
> in RFC 3261 specifies ends-of-lines explicitly and always shows them
> as CR-LF.
Yes, the problem is that I parsed "extension-header" that allows basically
anything (folding with just LF for example).
In fact, as I said later, when I tryed the same with "Route" or "Via" header it
failed to me (I must set CRLF at the end of each line).
Thanks for clarification.
--
Iñaki Baz Castillo
[EMAIL PROTECTED]
_______________________________________________
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