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

Content-Length and 1xx status codes

From: Adrien de Croy <adrien@qbik.com>
Date: Thu, 17 Jan 2008 13:33:53 +1300
Message-ID: <478EA271.4080700@qbik.com>
To: HTTP Working Group <ietf-http-wg@w3.org>


I've recently come across a problem where a server a client is talking 
to is replying to a POST with

HTTP/1.1 100 Continue
Content-Length: 0


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.

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?



Adrien de Croy - WinGate Proxy Server - http://www.wingate.com
Received on Thursday, 17 January 2008 00:33:04 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 1 October 2015 05:36:27 UTC