Check out the Cookie module - part of core python - for general cookie
manipulation.
http://aspn.activestate.com/ASPN/Reference/Products/ActivePython/python/lib/module-Cookie.html
Regards,
Dan
On Fri, 24 Aug 2001, A wrote:
>
>
> Hi,
> I use httplib module to POST to a website.From the response(
> header)
> I need to extract cookies. Can you advise me how I can do that
> please?
>
>
> The header I receive looks like
>
> Server: Microsoft-IIS/5.0
> Date: Thu, 23 Aug 2001 12:24:33 GMT
> Location: MemberPortfolio.asp
> Connection: Keep-Alive
> Content-Length: 140
> Content-Type: text/html
> Set-Cookie:
> ECEurope=Password=&Email=leads%40sendme%2Ecz;
> expires=Sun, 21-Oct-2001 23:00:00 GMT; path=/
> Set-Cookie:
> ASPSESSIONIDQQQGQLQO=ABNGDCNBDOIEFJEEPJAOJDKE;
> path=/
> Cache-control: private
>
> Thank you for help
> Ladislav
> _______________________________________________
> ActivePython mailing list
> [EMAIL PROTECTED]
> http://listserv.ActiveState.com/mailman/listinfo/activepython
>
--
Dan Milgram/ActiveState Developer
New! ASPN - ActiveState Programmer Network
Essential programming tools and information
http://www.ActiveState.com/ASPN
_______________________________________________
ActivePython mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activepython