You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Henry Yeh <hy...@Scheduling.com> on 2001/08/20 18:18:53 UTC

Patch to bug #345 complete ?

I have noticed that after applying the patch the date is now
included in the tomcat HTTP response header, but it still
does not send back "not modified 304" if the file requested
hasn't been modified since the date specificed by the request ...

anyone has any ideas on how to fix this ? thanks !

Henry


Re: Patch to bug #345 complete ?

Posted by Justin Erenkrantz <je...@ebuilt.com>.
On Mon, Aug 20, 2001 at 09:18:53AM -0700, Henry Yeh wrote:
> 
> I have noticed that after applying the patch the date is now
> included in the tomcat HTTP response header, but it still
> does not send back "not modified 304" if the file requested
> hasn't been modified since the date specificed by the request ...
> 
> anyone has any ideas on how to fix this ? thanks !

Are you sending If-Modified-Since?  That doesn't look like it'd work 
in Tomcat.  

The 304 behavior doesn't apply to dynamic data as it is *always* 
regenerated.  So, I'm not even sure if you'd want it.  You definitely
don't want to look at the date on the jsp file as that tells you 
nothing (unlike static content).

Static content is a different story, but if you are serving static files
from Tomcat, you probably want a real HTTP server in front of it.  
-- justin