diff --git a/VERSION.txt b/VERSION.txt index efe63137533..87a0e57cfbf 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -1,6 +1,7 @@ jetty-7.0.0-SNAPSHOT + 286911 Clean out cache when recycling HTTP fields + JETTY-1081 Handle null content type in GzipFilter + + JETTY-1084 Disable GzipFilter for HEAD requests + JETTY-1086 Added UncheckedPrintWriter to avoid ignored EOFs + JETTY-1087 Chunked SSL non blocking input diff --git a/jetty-servlets/src/main/java/org/eclipse/jetty/servlets/GzipFilter.java b/jetty-servlets/src/main/java/org/eclipse/jetty/servlets/GzipFilter.java index 52019263036..f9c9602dc8d 100644 --- a/jetty-servlets/src/main/java/org/eclipse/jetty/servlets/GzipFilter.java +++ b/jetty-servlets/src/main/java/org/eclipse/jetty/servlets/GzipFilter.java @@ -111,7 +111,8 @@ public class GzipFilter extends UserAgentFilter HttpServletResponse response=(HttpServletResponse)res; String ae = request.getHeader("accept-encoding"); - if (ae != null && ae.indexOf("gzip")>=0 && !response.containsHeader("Content-Encoding")) + if (ae != null && ae.indexOf("gzip")>=0 && !response.containsHeader("Content-Encoding") + && !"HEAD".equals(request.getMethod())) { if (_excluded!=null) {