[issue10721] Remove HTTP 0.9 server support

Martin Panter report at bugs.python.org
Fri Mar 18 06:36:52 EDT 2016


Martin Panter added the comment:

Does this need any deprecation cycle, or can we just remove everything immediately in 3.6?

I suspect that the HTTP 0.9 support never properly worked, but I don’t have enough info to be sure. Wouldn’t a HTTP 0.9 request send b"GET <path>\r\n" with a single line, and then wait for a response? If so, Python’s server hangs waiting for a second blank line (or EOF), so the protocol will deadlock.

In any case, I would be in favour of removing HTTP 0.9 support. Senthil: do you know of actual clients that do HTTP 0.9 requests?

I left a review comment. The patch will also need manual merging with current code.

----------
nosy: +martin.panter
versions: +Python 3.6 -Python 3.4, Python 3.5

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


More information about the Python-bugs-list mailing list