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

2006-11-13 Thread Phoe6
Fredrik Lundh wrote: > > can you post the code you're using to build the URI ? > Okay. This piece of code fetches a page from a particular site. As I am behind a firewall, I have to communicate through a proxy. # Set the Proxy Address PROXY_IP = "10.1.9.4:80" # Trying with linear way proxy_user

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

2006-11-13 Thread Fredrik Lundh
"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