Commits

dr...@81dbac14-341a-0410-aa85-cbcd92e6f43e  committed da24969

Submitted by: Lars Torunski
Reviewed by: Andres March

Cut n paste mistake. This should be correct now

  • Participants
  • Parent commits 9268002

Comments (0)

Files changed (1)

File src/core/java/com/opensymphony/oscache/web/filter/CacheHttpServletResponseWrapper.java

         }
 
         // only set the last modified value, if a complete page is cached
-        if ((!fragment) && (CacheFilter.HEADER_IF_MODIFIED_SINCE.equalsIgnoreCase(name))) {
+        if ((!fragment) && (CacheFilter.HEADER_LAST_MODIFIED.equalsIgnoreCase(name))) {
             result.setLastModified(value);
         }
         
         }
 
         // only set the last modified value, if a complete page is cached
-        if ((!fragment) && (CacheFilter.HEADER_IF_MODIFIED_SINCE.equalsIgnoreCase(name))) {
+        if ((!fragment) && (CacheFilter.HEADER_LAST_MODIFIED.equalsIgnoreCase(name))) {
             result.setLastModified(value);
         }