Content-Length and 1xx status codes

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 UTC