[issue27299] urllib does not splitport while putrequest realhost to HTTP headers
gr zhang
report at bugs.python.org
Sun Jun 12 01:07:58 EDT 2016
gr zhang added the comment:
Yes, I mean when set h.putheader('Host', "www.github.com:443") and the status code from httplib will be 405 while when set h.putheader('Host', "www.github.com") the code will be 200, this is confused to me.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27299>
_______________________________________
More information about the Python-bugs-list
mailing list