Re: Content-Length and 1xx status codes

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..."

Regards
Henrik

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