Bug: invalid HTTP responses on invalid data

Maxim Dounin mdounin at mdounin.ru
Wed Mar 17 15:31:33 MSK 2010


On Wed, Mar 17, 2010 at 03:13:44PM +0300, Kirill A. Korinskiy wrote:

> At Wed, 17 Mar 2010 15:10:03 +0300,
> Maxim Dounin <mdounin at mdounin.ru> wrote:
> > 
> > This is perfectly valid HTTP/0.9 response to invalid HTTP/0.9 
> > request.  No problem here.
> > 
> Why not take requests on default 1.0+?

RFC 1945 explicitly says:

   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.

This basically means that HTTP/1.0 support requires this 

Maxim Dounin

More information about the nginx mailing list