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:

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:13:52 UTC