[twill] Bug? in HTTP Basic Authentication Handling

subscriptions at smart-knowhow.de subscriptions at smart-knowhow.de
Fri Mar 2 05:55:39 PST 2007


Hi folks,

I digged into the code of twill and mechanize (and figured out how the basic flow of the data is) concerning basic HTTP authentication.

What I found seems to be curious: the password handler are coded in _auth.py within mechanize. If I put debug code in the "add_password" function of HTTPPasswordMgr then the corresponding code is executed if is issue a "add_auth" command.

The corresponding find_user_password function is never called (at least in my case). I'm currently trying to figure out why...

Regards,
Andrew



More information about the twill mailing list