[issue5111] httplib: wrong Host header when connecting to IPv6 litteral URL

chkneo report at bugs.python.org
Thu Jul 2 11:33:30 CEST 2009


chkneo <chkneo at gmail.com> added the comment:

RFC 2732 Section three have the following details.

      host          = hostname | IPv4address | IPv6reference
      ipv6reference = "[" IPv6address "]"

The patch contains check for : and adding the brackets

----------

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


More information about the Python-bugs-list mailing list