Web authentication

John J. Lee jjl at pobox.com
Fri Dec 5 17:57:33 CET 2003

luigipaioro at libero.it (Luigi) writes:

> I've tried to follow yours suggestions, but I cannot solve my trouble
> yet!
> These are my attempts:

Nothing obviously wrong there.

> Where is my mistake??

What happens when you run the code?  Traceback, unexpected HTTP
response, ...?  Hard to guess without this kind of information.

The problem is often obvious if you just use a sniffer to look at the
HTTP headers getting sent by your browser and by your program, and
compare the two.  Use Ethereal, for example (if you have an https: URL
so can't use a sniffer, try the livehttpheaders plugin for Mozilla, or
a proxy like proxomitron).


More information about the Python-list mailing list