On 21 Jul 2003 at 20:24, BZ wrote:
I hate it when I answer my own questions.
The answer is, it is not enabled by default.
in lib/python/ZPublisher/HTTPResponse.py
Line 153 set:
use_HTTP_content_compression = 1
Enjoy!
I think this is the wrong way to do it. Instead you should calll the enableHTTPCompression() method on the RESPONSE object. something like context.REQUEST.RESPONSE.enableHTTPCompression(context.REQUEST) This gives you more control over compression. Using your method everything will try to be compressed (except for certain mime types), which might not be what you want. -- Brad Clements, bkc@murkworks.com (315)268-1000 http://www.murkworks.com (315)268-9812 Fax http://www.wecanstopspam.org/ AOL-IM: BKClements