Re: Whitespace before responses

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.



Received on Thursday, 30 June 2011 07:47:07 UTC