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

Re: Whitespace before responses

From: Daniel Stenberg <daniel@haxx.se>
Date: Thu, 30 Jun 2011 09:46:28 +0200 (CEST)
To: Mark Nottingham <mnot@mnot.net>
cc: httpbis Group <ietf-http-wg@w3.org>
Message-ID: <alpine.DEB.2.00.1106300936590.25863@tvnag.unkk.fr>
On Thu, 30 Jun 2011, Mark Nottingham wrote:

>   In the interest of robustness, servers SHOULD ignore at least one
>   empty line received where a Request-Line is expected.  In other
>   words, if the server is reading the protocol stream at the beginning
>   of a message and receives a CRLF first, it SHOULD ignore the CRLF.
>
> Should a similar approach be taken when clients parse responses?

I don't think so. I don't think HTTP has allowed this and I don't think we 
should soften this area now. I also have never gotten or seen a report similar 
to the Firefox one so curl doesn't accept an initial CRLF in a HTTP response.

-- 

  / daniel.haxx.se
Received on Thursday, 30 June 2011 07:47:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 06:51:42 GMT