Message262171
| 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:20 | xiang.zhang | set | recipients:
+ xiang.zhang, martin.panter |
| 2016年03月22日 08:56:20 | xiang.zhang | set | messageid: <1458636980.12.0.779581831419.issue26609@psf.upfronthosting.co.za> |
| 2016年03月22日 08:56:20 | xiang.zhang | link | issue26609 messages |
| 2016年03月22日 08:56:19 | xiang.zhang | create |
|