[Tutor] How to extract cookies?

A printers@sendme.cz
Thu, 23 Aug 2001 16:14:41 +0200


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