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 treating something as part of 
the URI, you need to quote it:

    pwd = urllib.quote(pwd, "")

</F>

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to