W3C home > Mailing lists > Public > ietf-http-wg@w3.org > April to June 2015

Re: [Technical Errata Reported] RFC7230 (4189)

From: Walter H. <Walter.H@mathemainzel.info>
Date: Wed, 22 Apr 2015 21:41:43 +0200
Message-ID: <5537F977.2080108@mathemainzel.info>
To: Zhong Yu <zhong.j.yu@gmail.com>
CC: HTTP Working Group <ietf-http-wg@w3.org>
On 22.04.2015 15:55, Zhong Yu wrote:
> Out of curiosity, I constructed the following response, and tested on
> 5 major browsers
>
> HTTP/1.1 200 OK\r\n
> Connection: close\r\n
> Content-Type: text/plain;charset=UTF-8\r\n
> <SP>\r\n
> Server: test-folding\r\n
> \r\n
> 123456789
>
> IE displays the response as
>
> Server: test-folding\r\n
> \r\n
> 123456789
>
> That doesn't seem right.
>
always think of what is expected;
maybe the browser (in this case IE) expected nothing, because the
HTTP reply header

HTTP/1.1 200 OK\r\n
Connection: close\r\n
Content-Type: text/plain;charset=UTF-8\r\n
\r\n

would be a complete header;

try different browsers by sending just this "mistake" reply

HTTP/1.1 200 OK\r\n
<SP>\r\n
Connection: close\r\n
Content-Type: text/plain;charset=UTF-8\r\n
Server: test-folding\r\n
\r\n
123456789

I'd say just this HTTP reply header

HTTP/1.1 200 OK\r\n\r\n

is not complete ...




Received on Wednesday, 22 April 2015 19:42:09 UTC

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