Re: httplib.InvalidURL: nonnumeric port: For characters in the proxy password in URL

2006-11-13 Thread Phoe6
Fredrik Lundh wrote: > Phoe6 wrote: > > Hi, > > The following piece of code works properly when my proxy password > > contains characters[a-zA-Z0-9] etc. But when my proxy password > > contained something like '|\/|' , the httplib incorrectly indentified > > it as separator. > > if you want to

Re: httplib.InvalidURL: nonnumeric port: For characters in the proxy password in URL

2006-11-13 Thread Fredrik Lundh
Phoe6 wrote: > Hi, > The following piece of code works properly when my proxy password > contains characters[a-zA-Z0-9] etc. But when my proxy password > contained something like '|\/|' , the httplib incorrectly indentified > it as separator. if you want to prevent the URI parser from treatin

httplib.InvalidURL: nonnumeric port: For characters in the proxy password in URL

2006-11-13 Thread Phoe6
Hi, The following piece of code works properly when my proxy password contains characters[a-zA-Z0-9] etc. But when my proxy password contained something like '|\/|' , the httplib incorrectly indentified it as separator. How do I resolve this issue. # Proxy Address PROXY_IP = "1.1.9.8:80" #