[Mailman-Users] getting admin pages with python

Richard Barrett R.Barrett at ftel.co.uk
Wed May 1 14:05:36 CEST 2002


At 12:14 01/05/2002 +0100, Robin Becker wrote:
>We have a list maintained by our ISP so we only have web access to the
>internals via admin pages.
>
>As an exercise I wanted to use python to get access to all the pages in
>the membership management.
>
>Unfortunately it seems that while urllib can manage http
>authentification just fine mailman requires cookies etc.
>
>Is there a neat way to use python to provide the correct behaviour?

you probably need to use python's httplib and provide the extra code to 
deal with set cookie headers in the response to the login form and 
returning that cookie in subsequent request headers.

>--
>Robin Becker
>
>
>------------------------------------------------------
>Mailman-Users mailing list
>Mailman-Users at python.org
>http://mail.python.org/mailman/listinfo/mailman-users
>Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py






More information about the Mailman-Users mailing list