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

Re: Translating CR LF to HTTP/1 headers

From: Martin Thomson <martin.thomson@gmail.com>
Date: Tue, 3 Sep 2013 11:02:05 -0700
Message-ID: <CABkgnnUJnwgP5vPY0NZi6NtUDxXKoGGqiAQ1kX6oB8oN-Sh7_A@mail.gmail.com>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
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,

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:15 UTC