httplib.InvalidURL: nonnumeric port: For characters in theproxypassword in URL
Phoe6
orsenthil at gmail.com
Mon Nov 13 08:35:15 EST 2006
Fredrik Lundh wrote:
> "Phoe6" wrote:
>
> > - use urllib.quote() to covert the proxy url to a quoted one.
>
> you should use quote to convert the *password* to quoted form, not use it on
> the entire URL.
>
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().
Thanks,
Senthil
More information about the Python-list
mailing list