httplib.InvalidURL: nonnumeric port: For characters intheproxypassword in URL

Fredrik Lundh fredrik at pythonware.com
Mon Nov 13 08:58:47 EST 2006


"Phoe6" wrote:

> Am sorry Fred. The same problem:
>
>  File "C:\Python24\lib\httplib.py", line 598, in _set_hostport
>    raise InvalidURL("nonnumeric port: '%s'" % host[i+1:])
> httplib.InvalidURL: nonnumeric port: '|\'
>
> I dont think its an issue to be resolved with quote().

can you post the code you're using to build the URI ?

</F> 






More information about the Python-list mailing list