client side cookie with httplib

Feng Tian ftian at cs.wisc.edu
Mon Jun 26 20:08:16 EDT 2000


Hi,

Is there a way to use Cookie.py and httplib on clientside?
Basically, I want to find a python equivalent to perl

$cookie = new HTTP::Cookies;
$useragent = new LWP::UserAgent;
$useragent->cookie_jar($cookie)

Then, when I do POST, GET etc useraget accepts/send cookie
automatically.

Thanks.

Feng






More information about the Python-list mailing list