The following reply was made to PR general/4033; it has been noted by GNATS.
From: Rodent of Unusual Size <[EMAIL PROTECTED]> To: John-Mark Gurney <[EMAIL PROTECTED]> Cc: Apache bug database <[EMAIL PROTECTED]> Subject: Re: general/4033: HTTP/0.9 requests yield invalid response Date: Thu, 11 Mar 1999 17:47:18 -0500 John-Mark Gurney wrote: > > > You're missing the point, I think. It *isn't* a 'malformed HTTP/0.9 > > request,' because HTTP/0.9 requests *never* have a version number. > > even though the specs say this (section 6): > "A Simple-Response should only be sent in response [or case deleted] if > the server only supports the more limited HTTP/0.9 protocol." : > where in the specification does it say that HTTP/0.9 can not generate > a full-request? It is made clear by implication throughout RFC 1945 that 'simple-request' and 'simple-response' refer to HTTP/0.9. It is not explicitly stated, but there are several specific cases supporting this interpretation. RFC 1945, section 3.1: The version of an HTTP message is indicated by an HTTP-Version field in the first line of the message. If the protocol version is not specified, the recipient must assume that the message is in the simple HTTP/0.9 format. Contrariwise, if there *is* a version, the request is *not* in the simple HTTP/0.9 format. Arguable, I suppose.. but: Section 4.1: HTTP messages consist of requests from client to server and responses from server to client. HTTP-message = Simple-Request ; HTTP/0.9 messages | Simple-Response | Full-Request ; HTTP/1.0 messages | Full-Response Section 5: A request message from a client to a server includes, within the first line of that message, the method to be applied to the resource, the identifier of the resource, and the protocol version in use. For backwards compatibility with the more limited HTTP/0.9 protocol, there are two valid formats for an HTTP request: Request = Simple-Request | Full-Request Simple-Request = "GET" SP Request-URI CRLF Full-Request = Request-Line ; Section 5.1 *( General-Header ; Section 4.3 | Request-Header ; Section 5.2 | Entity-Header ) ; Section 7.1 CRLF [ Entity-Body ] ; Section 7.2 If an HTTP/1.0 server receives a Simple-Request, it must respond with an HTTP/0.9 Simple-Response. Section 6: A Simple-Response should only be sent in response to an HTTP/0.9 Simple-Request or if the server only supports the more limited HTTP/0.9 protocol. -- #ken P-)} Ken Coar <http://Web.Golux.Com/coar/> Apache Group member <http://www.apache.org/> "Apache Server for Dummies" <http://Web.Golux.Com/coar/ASFD/>