[issue26609] Wrong request target in test_httpservers.py

Xiang Zhang report at bugs.python.org
Mon Apr 4 22:28:37 EDT 2016


Xiang Zhang added the comment:

Get the slash prefixed path in Setup() is a good idea. I change the patch. I retain self.tempdir_name so we can use it in a test for no leading slash. The case creating index.html is OK with self.tempdir_name since we have changed our working directory to basetempdir.

I didn't think about compatibility but I know it's important. So rejecting the invalid request-targets is not a good idea to me now.

----------
Added file: http://bugs.python.org/file42369/request_target_in_test_httpservers_v2.patch

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


More information about the Python-bugs-list mailing list