Ok, I stand corrected (and with egg on my face for abusing zlib). The moral
of the story is that zlib.compress(data) is NOT the same as gzip <data
>browser (Which I guess I should have known). Thanks for the pointer Jan!

I think I have figured out what I did wrong, but I now have compression
working for IE

If anyone wants the patch to play with, drop me a line (It's a file to add
to the PatchKit folder. PatchKit auto-loads all patches it finds - just
restart Zope, or refresh PatchKit).

Adrian...

--
Adrian Hungate

All views expressed in this email are those of the whole world, however some
people don't realise this yet.

----- Original Message -----
From: "Adrian Hungate" <[EMAIL PROTECTED]>
To: "Martijn Jacobs" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, December 10, 2001 6:13 PM
Subject: Re: [Zope-dev] RAMCacheManager and gzip


> Ok, that was my though, so I have uninstalled IE6, just incase the install
> was broken, and I will do some more testing tonight. I really need to put
> this to one side in favour of another caching problem I have been asked to
> look at though. I will probably pick it up again in a day or two.
>
> Adrian...
>
> --
> Adrian Hungate
>
> All views expressed in this email are those of the whole world, however
some
> people don't realise this yet.
>
> ----- Original Message -----
> From: "Martijn Jacobs" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Monday, December 10, 2001 2:42 PM
> Subject: Re: [Zope-dev] RAMCacheManager and gzip
>
>
> > > There is zlib support in Python, and it is used in Medusa already.
> ZServer
> > > does not call it, but the compression stuff is there.
> > >
> > > There is one good reason not to use zlib though, Micro$oft Internet
> > > Distorter does not support content-encoding: gzip and for
> content-encoding:
> > > compress it expects data to be compressed using the Unix compress
> tool... (I
> > > think someone reported this already... oh well)
> >
> > Hmm, how does mod_gzip compress it then? In every request I get from IE
> > includes the "accept-encoding: gzip" string, and apache is sending it
> > gzip-compressed back. Do you mean that the mod_gzip is compressing it
> > different then zlib?
> >
> > mart(ijn)
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > Zope-Dev maillist  -  [EMAIL PROTECTED]
> > http://lists.zope.org/mailman/listinfo/zope-dev
> > **  No cross posts or HTML encoding!  **
> > (Related lists -
> >  http://lists.zope.org/mailman/listinfo/zope-announce
> >  http://lists.zope.org/mailman/listinfo/zope )
> >
>
>
> _______________________________________________
> Zope-Dev maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope )
>


_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to