[issue10721] Remove HTTP 0.9 server support

Martin v. Löwis report at bugs.python.org
Fri Dec 17 01:15:34 CET 2010


Martin v. Löwis <martin at v.loewis.de> added the comment:

The question really is whether we want or want not to support RFC 1945 (i.e HTTP/1.0). If we want to support it, we also must comply to section 3.1, which 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.

If we then choose to not support HTTP/0.9 (after recognizing that the message is HTTP/0.9), we must then reject the request. According to RFC 2145, we then may send back error 505 (HTTP version not supported).

----------
nosy: +loewis

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10721>
_______________________________________


More information about the Python-bugs-list mailing list