[issue34516] httplib sets unbefitting "Host" in request header when requests an ipv6 format url.

chen wu report at bugs.python.org
Tue Sep 4 02:24:18 EDT 2018


chen wu <wuchen12 at huawei.com> added the comment:

to fix this, we change the code of our urilib3. before passing params to httplib, we set Host in headers if it's ipv6 address.

Thanks so much.

----------
resolution: duplicate -> not a bug
stage:  -> resolved
status: pending -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34516>
_______________________________________


More information about the Python-bugs-list mailing list