[links-list] Re: [PATCH] Cookies expiration and saving

Max qmax at civo.aca.nsc.ru
Fri Sep 7 16:18:43 PDT 2001


On Sat, Sep 08, 2001 at 12:09:17AM +0200, Petr Baudis wrote:
>Great! :) Maybe my file format is more simple and straightforward, but it's
>be possible your parse_date() is better... i just used the standart one available
>in links, maybe that one should be extended? [to be tolerant to more variable
>formats of http date, as your one do?]

I dont know if cookie date format is specified somewhere.
In particilar - whether it MUST be in GMT or in any valid timezone.
Both function does not handle date if it is not GMT.
Actually, following 'policy' of links dev., 
variable format parsing should be avoided.

I've also noticed, that alot of cookies, parsed by my version,
contains expiry==0 - either they do not specify expiry,
or parsedate fails. I haven't debugged that.

-- 
Unsubscribe: send email to links-list-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message



More information about the links-list mailing list