[Python-Dev] httplib is not v6 compatible, is this going to be fixed?

David G Mills dgm at ecs.soton.ac.uk
Wed Sep 15 11:24:48 CEST 2004


And where can we get a copy of this new 'official' httplib?

David.

On Tue, 14 Sep 2004, [ISO-8859-1] "Martin v. L=F6wis" wrote:

> Skip Montanaro wrote:
> >     Phillip> Here's the test case that's missing, then:
> >=20
> >     Phillip>      "[fe80::207:e9ff:fe9b]"
> >=20
> > Whoops.  Fixed.
>=20
> The code was still incorrect. The square brackets don't belong
> to the host name - they are part of the URL syntax. Before passing
> them to the socket module, they need to be stripped off. I have now
> changed httplib to do that right when parsing host:port.
>=20
> Regards,
> Martin
>=20



More information about the Python-Dev mailing list