Message261949
As I understand it, you are saying if you override the undocumented (but publicly-named) default_request_version attribute, HTTP 0.9 requests no longer work.
I suspect it is even broken by default. My understanding is with HTTP 0.9 you should be able to send b"GET <path>\r\n" and get a response, but Python’s server will deadlock waiting for a second blank line or EOF. It looks like this deadlock has been there since ~forever (1995).
See Issue 10721 which already proposes to remove 0.9 server support. I would be weakly in favour of this (or more strongly if someone can prove my theory that the current support is broken). |
|
Date |
User |
Action |
Args |
2016-03-18 07:21:46 | martin.panter | set | recipients:
+ martin.panter, gregory.p.smith, xiang.zhang |
2016-03-18 07:21:46 | martin.panter | set | messageid: <1458285706.07.0.695241054068.issue26578@psf.upfronthosting.co.za> |
2016-03-18 07:21:46 | martin.panter | link | issue26578 messages |
2016-03-18 07:21:45 | martin.panter | create | |
|