problems with module Cookie

Manlio Perillo NOmanlio_perilloSPAM at libero.it
Wed May 26 15:14:09 EDT 2004


On Sun, 23 May 2004 17:12:25 +0000 (UTC), Jarek Zgoda
<jzgoda at gazeta.usun.pl> wrote:

>Manlio Perillo <NOmanlio_perilloSPAM at libero.it> pisze:
>
>>>>>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.
>> 
>> It is not a my problem!
>
>As you see, it's your problem, since it's you who cann't decode this
>cookie. ;)
>

The problem is also of Cookie module.

>> The web server  follow the Netscape specification for Cookies and in
>> this spec the date is in the format I have posted.
>
>Netscape is not internet God, W3C is.
>

Unfortunately we don't live in a perfect world... ;)

>I never tried to read cookies using Cookie module (I used Python only
>for writing), so I cann't help more here. Good luck.

Ok, thanks.



Regards   Manlio Perillo



More information about the Python-list mailing list