Author xiang.zhang
Recipients martin.panter, xiang.zhang
Date 2016-03-22.08:56:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1458636980.12.0.779581831419.issue26609@psf.upfronthosting.co.za>
In-reply-to
Content
When requesting a resource from an origin server, the request-target in request line should always starts with a back slash. But in SimpleHTTPServerTestCase in test_httpservers.py, almost all the requests are sent without the back slash though the handler handles it well. The request lines are like 'GET tmpXXXXX HTTP/1.1'. I add the back slashes.

Maybe in SimpleHTTPRequestHandler, we should reject such invalid request-targets and then return BAD_REQUEST. And then issue2254 won't happen.
History
Date User Action Args
2016-03-22 08:56:20xiang.zhangsetrecipients: + xiang.zhang, martin.panter
2016-03-22 08:56:20xiang.zhangsetmessageid: <1458636980.12.0.779581831419.issue26609@psf.upfronthosting.co.za>
2016-03-22 08:56:20xiang.zhanglinkissue26609 messages
2016-03-22 08:56:19xiang.zhangcreate