Re: Translating CR LF to HTTP/1 headers

On 3 September 2013 08:47, Julian Reschke <julian.reschke@gmx.de> wrote:
> CR and LF *are* allowed in HTTP/1.1 field *values* (not names), as per the
> OBS-FOLD ABNF production.
> (<http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p1-messaging-23.html#header.fields>)

Let's be really clear.  What do you consider in this case to be the
"value"?  The lexical form or the value-space form?  Because if I sent
you something like:

Header: value1,
    value2

The lexical value is one thing, but there is no obligation on a stack
or intermediary to preserve obs-fold.  The value-space form is simply
"value1, value2" with a single space replacing all that extra fluff.

Received on Tuesday, 3 September 2013 18:02:32 UTC