cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bertrand Delacretaz <>
Subject Re: map:generate and gzip content
Date Thu, 25 Mar 2004 08:22:08 GMT
Le 25 mars 04, à 08:41, Magne Skjeret a écrit :
>> ...I have a server giving xml out on request. The response is always 
>> gzipped, http header or not.
>> Is there anyway that map:generate can take in gzip and unpack it 
>> before it is parsed?...

AFAIK Cocoon doesn't currently handle gzipped input, but if you look at 
the zip: protocol and ZipSource implementation in the scratchpad, for 
example, implementing your own Source is not very hard.

If you don't want to dig into this, an alternative would be to write a 
proxy servlet to decompress your data.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message