#434: mention in header field considerations that leading/trailing WS is lossy

...thus this needs to be considered when defining new header fields (-> 
quoted-string).

See <​ 
http://stackoverflow.com/questions/14910794/value-starting-with-a-space-in-httpurlconnection-add-request-property>

Proposed patch (see 
<http://trac.tools.ietf.org/wg/httpbis/trac/attachment/ticket/434/>): 
add the paragraph:

 >  Leading and trailing whitespace in field values is removed upon field
 >  parsing (Section 3.2.4 of [Part1]).  Field definitions where leading
 >  or trailing whitespace in values is significant will have to use a
 >  syntax such as in the quoted-string ABNF production.

Best regards, Julian

Received on Tuesday, 19 February 2013 12:59:50 UTC