[issue27299] urllib does not splitport while putrequest realhost to HTTP headers

Xiang Zhang report at bugs.python.org
Sun Jun 12 00:27:37 EDT 2016


Xiang Zhang added the comment:

The standard[1] says the Host header is OK to include port. Why not use 'https://www.github.com'?

[1] https://tools.ietf.org/html/rfc7230#section-5.4

----------
nosy: +xiang.zhang

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


More information about the Python-bugs-list mailing list