problems with module Cookie
Jarek Zgoda
jzgoda at gazeta.usun.pl
Sun May 23 06:08:15 EDT 2004
Manlio Perillo <NOmanlio_perilloSPAM at libero.it> pisze:
>>> I'm using the Cookie module (on the client side).
>
> ^^^
>>> I have found a problem trying to parse the cookie:
>>>
>>> "Set-Cookie: value=thevalue; path=/;
>>> expires=Fri, 21-May-2004 10:40:51 GMT"
>>
>>You must use date in UTC format.
>
> This is the date format used by the server cookie!
See http://www.w3.org/TR/NOTE-datetime on how should date look in
cookies. If date is not in valid format, the module functions may have
trouble decoding it.
--
Jarek Zgoda
http://jpa.berlios.de/
More information about the Python-list
mailing list