[plt-scheme] Problem with Post-Redirect-Get in FireFox

From: Jens Axel Søgaard (jensaxel at soegaard.net)
Date: Thu Aug 9 11:53:44 EDT 2007

Anton van Straaten skrev:
> Jens Axel Søgaard wrote:
>> What happens if you execute a HEAD for a servlet (and not a static
>> file)?
> 
> I tried "HEAD http://localhost/servlets/configure.ss", with no 
> parameters, which returns:
> 
>   200 Okay
>   Date: Thu, 09 Aug 2007 14:24:13 GMT
>   Server: PLT Scheme
>   Content-Length: 7
>   Content-Type: text/html; charset=utf-8
>   Last-Modified: Thu, 09 Aug 2007 14:24:13 GMT
>   Client-Date: Thu, 09 Aug 2007 15:24:13 GMT
>   Client-Peer: 127.0.0.1:80
>   Client-Response-Num: 1

Okay, so the intention must be that the server always
says that a servlet is freshly modified.

Hmm. In this case there is something fishy though.
If the server says it is last modified at 14:24
and the client time is 15:24, then the client can use
the cache.

-- 
Jens Axel Søgaard



Posted on the users mailing list.