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

Whitespace before responses

From: Mark Nottingham <mnot@mnot.net>
Date: Thu, 30 Jun 2011 09:12:49 +1000
Message-Id: <58B83A23-B167-47F1-8E8A-AA4E968D1AA9@mnot.net>
To: httpbis Group <ietf-http-wg@w3.org>
<http://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-14#section-3.1> says:

   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?

See also:
  https://bugzilla.mozilla.org/show_bug.cgi?id=668168

--
Mark Nottingham   http://www.mnot.net/
Received on Wednesday, 29 June 2011 23:13:16 GMT

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