HTTP basic authentication with form-based authentication

Wojtek Walczak gminick at nie.ma.takiego.adresu.w.sieci.pl
Thu Aug 7 15:54:23 EDT 2008


Dnia Thu, 7 Aug 2008 11:14:05 -0700 (PDT), Max napisa³(a):
> Following the tutorial at http://personalpages.tds.net/~kent37/kk/00010.html,
> I understand how to access HTTP basic authenticated pages or form-
> based authenticated pages. How would I access a page protected by both
> form-based authentication (using cookies) *and* HTTP basic
> authentication?

Use ClientCookie or even better - mechanize:
http://pypi.python.org/pypi/mechanize/
The docs aren't perfect, but you should easily
find what you are searching for.

-- 
Regards,
Wojtek Walczak,
http://www.stud.umk.pl/~wojtekwa/



More information about the Python-list mailing list