From 9f7a8c23d565e8317d03d5916e0ba70cf632d1ba Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Fri, 1 Jun 2012 18:30:49 +0200 Subject: [PATCH] =?utf8?q?F=C3=BCr=20unbekante=20HTTP-Status-Codes=20sollt?= =?utf8?q?e=20der=20Handler=20nicht=20abgew=C3=BCrgt=20werden?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../java/de/halbekunst/juplo/cachecontrol/CacheControl.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cachecontrol/src/main/java/de/halbekunst/juplo/cachecontrol/CacheControl.java b/cachecontrol/src/main/java/de/halbekunst/juplo/cachecontrol/CacheControl.java index 486cb33f..6ded0112 100644 --- a/cachecontrol/src/main/java/de/halbekunst/juplo/cachecontrol/CacheControl.java +++ b/cachecontrol/src/main/java/de/halbekunst/juplo/cachecontrol/CacheControl.java @@ -93,13 +93,12 @@ public class CacheControl { case HttpServletResponse.SC_NOT_IMPLEMENTED: // 501 case HttpServletResponse.SC_SERVICE_UNAVAILABLE: // 503 case HttpServletResponse.SC_HTTP_VERSION_NOT_SUPPORTED: // 505 - return true; default: /** * Es ist nicht klar, was der Handler noch machen wird/muss: * Antwort nicht dekorieren und Kontroller an den Handler übergeben... */ - return false; + return true; } Map headers = handle.getAdditionalHeaders(request); -- 2.20.1