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

Re: Translating CR LF to HTTP/1 headers

From: Julian Reschke <julian.reschke@gmx.de>
Date: Tue, 03 Sep 2013 20:04:11 +0200
Message-ID: <5226249B.4030301@gmx.de>
To: Martin Thomson <martin.thomson@gmail.com>
CC: Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
On 2013-09-03 20:02, Martin Thomson wrote:
> 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.

Si.

Best regards, Julian
Received on Tuesday, 3 September 2013 18:04:46 UTC

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