POST with basic auth and cookie from python?

Lee Harr missive at frontiernet.net
Sat Sep 4 08:36:01 EDT 2004


On 2004-09-04, Michael Foord <fuzzyman at gmail.com> wrote:
> Dan Stromberg <strombrg at dcs.nac.uci.edu> wrote in message news:<pan.2004.09.03.20.30.52.790127 at dcs.nac.uci.edu>...
>> If I wanted to write a python script that performs basic auth, gets a
>> cookie, and then does an http POST using the cookie for authentication,
>> what would be the best python API to write to?
>> 
>> Does someone already have example code that does something like this?
>> 

> Oh - if anyone can help on this it would be great !! What the heck is
> a realm and how do they work !!
>
>


Not sure if this helps ...
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/267197




More information about the Python-list mailing list