urllib2 BASIC Authentication not working

Paul Moore paul.moore at atosorigin.com
Tue May 8 12:00:58 EDT 2001


Ricardo Gladwell <ricardo.gladwell at btinternet.com> writes:

> I am attempting to use urllib2 to automate the process of logging onto
> a web site with BASIC authentication. To do this I use the following
> code fragment:

What version of Python? It's buggy in 2.0, but fixed in 2.1.

Paul.




More information about the Python-list mailing list