[Zope] Apache 2 + Zope can't gzip HTTP response body?
Dieter Maurer
dieter at handshake.de
Sun Jul 3 18:00:38 EDT 2005
Daniel Dekany wrote at 2005-7-2 20:56 +0200:
>Can I use HTTP "Content-Encoding: gzip" for Zope if I use Apache 2? (And
>should I use gzip content-encoding?)
>
>The mod_gzip doesn't work with Apache 2, but instead it has mod_deflate.
>But mod_deflate can't chose which responses to gzip based on the
>MIME-type for responses that are coming through
>ProxyPass/ProxyPassReverse. And with Zope I can't rely on extensions
>(like .html), just on the MIME-type. Do I think these well?
Zope can do "gzip" compression by itself.
You can activate it via
"RESPONSE.enableHTTPCompression(REQUEST)"
This activates "gzip" compression for precisely this response.
--
Dieter
More information about the Zope
mailing list