Interesting: @Override public boolean service(HttpServletRequest request, HttpServletResponse response, HttpServletRequestHandler handler) throws IOException {
boolean rc = handler.service(request, response); logger.error("Contains header: " + response.containsHeader("Content-Encoding")); return rc; } configuration.add(SymbolConstants.GZIP_COMPRESSION_ENABLED, "false"); 1.7.1 17:37:56,310 ERROR [com.MyFilter:28] - Contains header: false 1.7.2 17:47:20,215 ERROR [com.MyFilter:28] - Contains header: false ------------------------------ (not explicityly setting GZIP compression to false) 1.7.1 17:42:38,786 ERROR [com.MyFilter:28] - Contains header: true 1.7.2 17:41:20,049 ERROR [com.MyFilter:28] - Contains header: false On Fri, Oct 19, 2012 at 5:56 AM, Lance Java <lance.j...@googlemail.com>wrote: > Is MyFilter printing out before or after handler.service(request, > response)? > You'll need to print it out after. > > Taking a look at the tapestry source code, the GZipFilter wraps the > response > in an implementation that will only apply GZipping when a certain threshold > is reached (determined by the "tapestry.min-gzip-size" symbol). So the > setting of the "Content-Encoding" header will happen after some bytes have > been written to the response. I wonder if the GAE container implementation > is having troubles with this pattern? > > > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/Tapestry-Problem-on-Google-App-Engine-in-Development-tp5716763p5717054.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >