Re: [Technical Errata Reported] RFC7230 (4189)

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