On Fri, 11 Mar 2005 16:26:41 -0500, Bob Hutchison hutch@recursive.ca wrote:
While doing this I noticed something a little funny with the dates associated with If-modified-since. TBNL (rfc-1123-date) produces dates like "Tue, 1 Feb 2005 13:49:29 GMT" while Safari produces dates like "Tue, 01 Feb 2005 13:49:29 GMT" -- same date but you can't compare them as strings. If you look at rfc2616 section 3.3.1 there is an example that has the leading 0 on the day of month. Safari produces a header with the leading 0 for If-modified-since, so files in the first 9 days of any month will never match. FireFox appears to return whatever you send it, so it works there. I think this is probably a bug in TBNL.
Thanks, I'll look into this if I find some time. Or maybe Stefan will... :)
I'm going to download the most recent version of TBNL and integrate changes into that. There are not many and perhaps I can avoid them all. I'll get this cleaned up and then make it available.
Thanks. If you send patches it'd be very nice if you could also add a section to the docs which explains how to set up TBNL with Araneida.
Cheers, Edi.