[Zope] Gzip in 2.6? How to do I check? (ANSWERED!)

Brad Clements bkc@murkworks.com
Thu, 31 Jul 2003 12:45:19 -0400


On 31 Jul 2003 at 10:33, BZ wrote:

> Would you be interested in seeing the errors, etc I am getting?

I'm not sure how I could be helpful. It either works or it doesnt.

> 
> (don't know if you are still working on it).
> 
> Also, is there any thought to putting this into the config files/z2 so we
> don't have to muck with the Zope code to turn it on?

But you don't need to change the code to turn it on.

Didn't you see my previous post.

response.EnableHTTPCompression(request)

(or something like that)

gzip is enabled in the response object per-request, since it's not always a worthwhile 
payoff in terms of cpu time.



-- 
Brad Clements,                bkc@murkworks.com   (315)268-1000
http://www.murkworks.com                          (315)268-9812 Fax
http://www.wecanstopspam.org/                   AOL-IM: BKClements