New submission from lirenke:
httplib give openssl SNI extension message like IP:PORT string.
the apache server would return 400 code if SNI/request ServerName mismatch.
In class HTTPSConnection, we hope call self._get_hostport() before give the
value to server_hostname.
===
if self
lirenke added the comment:
We use Python 2.7.9, and I have checked the httplib.py in 2.7.11 version same
time. Notice that in set_tunnel(), self._tunnel_host have already updated by
calling _get_hostport(), just like you said. It's different between 2.7.9 and
2.7.11.
Then, I replace the
lirenke added the comment:
In RFC6066, literal IPv4 is not allowed as hostname indeed. Actually, many
requests still use the format of "IP+PORT" to access the server, and it seems
Python don't prohibit this action explicitly. The explorer Chrome also use
literal IP addres
Changes by lirenke :
--
resolution: -> fixed
___
Python tracker
<http://bugs.python.org/issue26238>
___
___
Python-bugs-list mailing list
Unsubscrib