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

From: Julian Reschke <[email-masked]>
Date: Tue, 19 Feb 2013 13:59:16 +0100

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