Cookies module

A printers at sendme.cz
Sat Jan 18 07:53:20 EST 2003


Hi all,
Is there a cookie module that handles cookies on a client side and would work with httplib 
module?
For example:
Server returns the  following cookies:

Set-Cookie: compid=1342; expires=
Set-Cookie: password=BMA; expires=
Set-Cookie: company=BMA TRADING s.r.o.; expires=
Set-Cookie: email=export at send.com; expires=Fri, 02-Dec-50 00:00:00 GMT
Set-Cookie: temppassword=; expires=Thu, 01-Jan-1970 00:00:00 GMT

I have a procedure that can create
compid=1342;password=BMA;company=BMA TRADING s.r.o.;email=export at send.com

but the right is 
email=export at send.com; compid=1342; password=BMA; company=BMA TRADING s.r.o

Please note the order.

 And this is only one type of returned cookies. I do not know how difficult it would be to 
think about all varieties e.g. if Path is present.
 

Thanks for help.
Ladislav







More information about the Python-list mailing list