-----Original Message-----
From: Brett Tate [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 26, 2001 5:01 PM
To: [EMAIL PROTECTED]
Subject: RE: [Sip-implementors] Line Folding Question.
> SIP header field values can be folded onto multiple lines if the
> continuation line begins with a space or horizontal tab. All linear
> white space, including folding, has the same semantics as SP. A
> recipient MAY replace any linear white space with a single SP before
> interpreting the field value or forwarding the message
> downstream.
>
> What is the unfolded form of
>
>
> Record-Route: <sip:[EMAIL PROTECTED];
> maddr=ss1.wcom.com>
>
> (note that there are 4 spaces at the start of the continuation.)
>
> Do I have to squeeze out all whitespace after the continuation or do I
> squeeze out only one? Note that if the former is true, this header is
> valid and if the latter is true this header is invalid (URL
> cannot have
> spaces in it).
>
If you literally interpret that extra LWS means space,
then the sender violated protocol. However I assume
that many implementations will be kind and strip all
LWS when such a violation has occurred.
I assume that the receiver of the error wouldn't want
to escape a leftover space since it changes the pname
value in your example.
_______________________________________________
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