> -----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. 

In this specific case, thats only because the URI cannot contain LWS.

Assuming instead the following:

Contact: sip:user@host;
  q=0.1;   expires=3600

this is valid, and the folded LWS is all stripped.

-Jonathan R.
---
Jonathan D. Rosenberg                       72 Eagle Rock Ave.
Chief Scientist                             First Floor
dynamicsoft                                 East Hanover, NJ 07936
[EMAIL PROTECTED]                     FAX:   (973) 952-5050
http://www.jdrosen.net                      PHONE: (973) 952-5000
http://www.dynamicsoft.com
_______________________________________________
Sip-implementors mailing list
[EMAIL PROTECTED]
http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors

Reply via email to