W3C home > Mailing lists > Public > ietf-http-wg@w3.org > July to September 2002

HTTP/1.1 response with no headers?

From: Joe Orton <joe@manyfish.co.uk>
Date: Wed, 10 Jul 2002 21:04:09 +0100
To: ietf-http-wg@w3.org
Message-ID: <20020710210409.A4921@light.plus.com>

Just curious - if a client receives the response:

  HTTP/1.1 200 OK<CRLF>
  <CRLF>

should it be treated as a response with no message body, or a message
body delimited by an EOF?

Mozilla seems to opt for the latter; as far as I could work out from
2616 the former is correct - a request may or may not include a message
body... the presence of a message body is signalled by a
Transfer-Encoding or Content-Length header (or implicit for HEAD, 204,
304 etc)... so no T-E or C-L implies no message body.

joe
Received on Wednesday, 10 July 2002 16:04:13 GMT

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