cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bertrand Delacretaz <bdelacre...@codeconsult.ch>
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.

-Bertrand


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message