/wro4j-core/src/main/java/ro/isdc/wro/http/GzipFilter.java
IOUtils.write( baos.toByteArray( ) , response.setContentLength( ) ) ;
IOUtils.write ( baos.toByteArray ( ) , response.getOutputStream ( ) ) ;
final HttpServletResponseWrapper wrappedResponse = new RedirectedStreamServletResponseWrapper(countingStream, response); chain.doFilter(req, wrappedResponse); countingStream.close(); response.setContentLength(countingStream.getCount()); if (countingStream.getCount() > 0) { <extra_id_0> } } private boolean isGzipAllowed(final HttpServletRequest request) { return !DispatcherStreamLocator.isIncludedRequest(request) && WroUtil.isGzipSupported(request); } public void destroy() {