if (request.getAttribute(GZIPPED_RESPONSE) == null) {
request.setAttribute(GZIPPED_RESPONSE, true);
String acceptGzip = request.getHeader("accept-encoding");
if ((acceptGzip != null) && (acceptGzip.indexOf("gzip") != -1) && (!GZIPResponseWrapper.class.isInstance(response)))
if (!excludedPath(pathInfo))
compressed = new GZIPResponseWrapper(response);
}
return compressed;
}