W3C home > Mailing lists > Public > ietf-http-wg@w3.org > January to March 2008

Re: Content-Length and 1xx status codes

From: Henrik Nordström <henrik@henriknordstrom.net>
Date: Thu, 17 Jan 2008 15:07:47 +0100
To: Adrien de Croy <adrien@qbik.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Message-Id: <1200578867.26971.6.camel@hlaptop>

tor 2008-01-17 klockan 13:33 +1300 skrev Adrien de Croy:

> According to my reading of the RFC, a Content-Length field indicates the 
> presence of a message body, and message bodies are specifically 
> prohibited on 1xx messages.

Correct, but many implementations gets this wrong and sends 0 when they
mean none..

> So is is therefore by extension prohibited to have a Content-Length (of 
> any value) or Transfer-Encoding field on a 1xx message as well?

Yes, but you may want to accept 0 length bodies anyway. See "Message
Length" case 1. "regardless of..."


Received on Thursday, 17 January 2008 14:10:40 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 11:10:44 UTC