Für Handler, die kein ETag bestimmen, darf auch kein leeres gesetzt werden
authorKai Moritz <kai@coolibri.de>
Sun, 24 Jun 2012 23:01:33 +0000 (01:01 +0200)
committerKai Moritz <kai@coolibri.de>
Thu, 2 Aug 2012 07:21:32 +0000 (09:21 +0200)
cachecontrol/src/main/java/de/halbekunst/juplo/cachecontrol/CacheControl.java

index bf49a45..c7bee9e 100644 (file)
@@ -328,7 +328,6 @@ public class CacheControl {
 
       cacheSeconds = CacheControl.this.defaultCacheSeconds;
       lastModified = CacheControl.this.defaultLastModified;
 
       cacheSeconds = CacheControl.this.defaultCacheSeconds;
       lastModified = CacheControl.this.defaultLastModified;
-      eTag = "";
 
       /** Class-Level-Annotations auslesen */
       for (Annotation annotation : handler.getClass().getAnnotations()) {
 
       /** Class-Level-Annotations auslesen */
       for (Annotation annotation : handler.getClass().getAnnotations()) {