W3C home > Mailing lists > Public > www-lib@w3.org > January to March 1999

Re: Negative last modified

From: olga <olga@goliath.eai.com>
Date: Tue, 26 Jan 1999 13:47:50 -0600 (CST)
Message-ID: <XFMail.990126134750.olga@eai.com>
To: Henrik Frystyk Nielsen <frystyk@w3.org>
Cc: www-lib@w3.org, olga@goliath.eai.com
I do not have negatives any more.

1) I do HTNet_deleteAfter(HTCacheFilter) in init finction
   Then for request:  HTRequest_addRqHd(request, HT_C_IMS);

In thit case file is loaded and 200 is returned event though I know that file
is not changed on server. There is If-modified-since header in request.

2) If I do not do HTNet_deleteAfter(HTCacheFilter) in init function (so
HTCacheFilter is present) and for request add  HTRequest_addRqHd(request,
HT_C_IMS). 

In second case I have  304 return but also a core dump. 

So neither way works correctly.

Olga.


On 26-Jan-99 Henrik Frystyk Nielsen wrote:
> At 13:24 1/26/99 -0600, olga wrote:
>>So, you are saying that times are ok?
>>(though you said it is correct for ET but I am in CT zone). Why it is loading
>>in presence of If-modified-since header then?
> 
> I understood you said:
> 
>>So if no HTCacheFilter but HT_C_IMS - no 304,
>>If HTCacheFilter (and HT_C_IMS added) - 304 and coredump.
> 
> and that
> 
> a) the first problem was caused by a negative LM in local time (doesn't
> matter if ET or CT - it's still west of GMT).
> 
> b) the second problem was caused by lack of initializing the filter which
> handles the 304 case. The reason why you get a 304 is probably that it uses
> the etag from the server and not the lm date.
> 
> Did I miss something?
> 
> Henrik
> --
> Henrik Frystyk Nielsen,
> World Wide Web Consortium
> http://www.w3.org/People/Frystyk

----------------------------------
E-Mail: olga <olga@eai.com>
Date: 26-Jan-99
Time: 13:33:49

This message was sent by XFMail
----------------------------------
Received on Tuesday, 26 January 1999 14:44:04 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:28 GMT