Strict date equality for If-Modified-Since comparison?

Brice Figureau brice+nginx at daysofwonder.com
Wed Aug 15 19:13:36 MSD 2007


Hi all,

After a few tests of unsuccessful attempts to trigger a 304 with nginx
0.6.1 with If-Modified-Since, I thrown an eye to the source...

>From my understanding nginx returns a 304 only if If-Modified-Since
matches exactly Last-Modified.

Apache is more liberal and returns a 304 for any date greater or equals
than the last-modified.

Is-it not too strict?

I know that RFC2616 (section 14.25) adds a note about comparison and does
not enforce any specific methods...

Thanks,
-- 
Brice Figureau






More information about the nginx mailing list