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>


Hi

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

etc

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?

Regards

Adrien


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

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