On Wed, 6 Feb 2002 11:22:23 -0500, Brad Clements [EMAIL PROTECTED]
wrote:
Also, RESPONSE.setBody really should have access to REQUEST.headers.
What's the clean way to do that? Just pass the request object to response
object's init method?
RESPONSE objects have a REQUEST attribute
Are you
I don't have much useful to add - I just wanted to mention that I know
there are people out there who have succesfully used mod_gzip with Zope;
and that I *like* the name dogzip :-)
seb
On Tue, 2002-02-05 at 22:34, Brad Clements wrote:
I'm looking for architectural suggestions for adding gzip
On Tue, 5 Feb 2002 17:34:26 -0500, Brad Clements [EMAIL PROTECTED]
wrote:
I hacked the attached code into HTTPResponse, at the end of setBody. It works for
xml-rpc responses and I suppose any text output, so long as the response object has a
header named dogzip set.
I think you also need to
On 6 Feb 2002 at 10:02, seb bacon wrote:
I don't have much useful to add - I just wanted to mention that I know
there are people out there who have succesfully used mod_gzip with Zope;
and that I *like* the name dogzip :-)
That's my dog, zip!
Brad Clements,[EMAIL
On 6 Feb 2002 at 10:40, Toby Dickenson wrote:
I think you also need to check the accept-encoding header, to allow
for clients that do not know how to gunzip. That also means you should set
caching headers to prevent the compressed and uncompressed responses
getting delivered to the wrong
I'm looking for architectural suggestions for adding gzip compression to
HTTPResponse for text types.
First, I just wanted to compress xml-rpc output, since I'm returing lots of table data
as
XML text (not objects), then loading that text/xml into a DOM for XSLT processing.
I hacked the
, 2002 10:34 PM
Subject: [Zope-dev] Adding gzip compression to HTTPResponse.py
I'm looking for architectural suggestions for adding gzip compression to
HTTPResponse for text types.
First, I just wanted to compress xml-rpc output, since I'm returing lots
of table data as
XML text (not objects