httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Tromey <>
Subject Re: 411 Length Required response to HTTP/1.0 request
Date Wed, 09 Oct 1996 16:54:26 GMT
Mark> Content-length was optional in HTTP/1.0.

The HTTP/1.0 standard says:

   A valid <CODE>Content-Length</CODE> is required on all HTTP/1.0
   <CODE>POST</CODE> requests. An HTTP/1.0 server should respond with
   a 400 (bad request) message if it cannot determine the length of
   the request message's content.

Elsewhere it says that the only difference between PUT and POST is one
of interpretation.

Here is some text from another part of the standard:

 A valid <CODE>Content-Length</CODE> field value is required on all 
 HTTP/1.0 request messages containing an entity body.

So I'd say that Content-Length is in fact required.

--                 Member, League for Programming Freedom

View raw message