W3C home > Mailing lists > Public > ietf-http-wg@w3.org > July to September 2009

Re: header parsing, trailing OWS

From: Jamie Lokier <jamie@shareable.org>
Date: Sat, 26 Sep 2009 15:41:54 +0100
To: Julian Reschke <julian.reschke@gmx.de>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Message-ID: <20090926144154.GA28368@shareable.org>
Julian Reschke wrote:
> "A field value MAY be preceded by optional whitespace (OWS); a single SP 
> is preferred. The field value does not include any leading or trailing 
> white space: OWS occurring before the first non-whitespace character of 
> the field value or after the last non-whitespace character of the field 
> value is ignored and SHOULD be removed without changing the meaning of 
> the header field."
> 
> I think what we really should say is that they MAY be removed before 
> passing the field-value to a specific header parser, thus definitions of 
> headers MUST NOT make the presence of trailing/leading whitespace 
> semantically significant.

Should proxies edit the leading or trailing OWS before forwarding headers?

-- Jamie
Received on Saturday, 26 September 2009 14:42:30 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 06:51:10 GMT