Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 79910 invoked from network); 25 Mar 2004 08:22:47 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 25 Mar 2004 08:22:47 -0000 Received: (qmail 14874 invoked by uid 500); 25 Mar 2004 08:22:14 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 14855 invoked by uid 500); 25 Mar 2004 08:22:14 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 14791 invoked from network); 25 Mar 2004 08:22:13 -0000 Received: from unknown (HELO confixx.bestiole.ch) (66.111.0.243) by daedalus.apache.org with SMTP; 25 Mar 2004 08:22:13 -0000 Received: from [192.168.0.170] (michel.wod.ch [62.220.137.25]) by confixx.bestiole.ch (8.11.6/8.11.6) with ESMTP id i2P8MCP12666 for ; Thu, 25 Mar 2004 09:22:12 +0100 Mime-Version: 1.0 (Apple Message framework v613) In-Reply-To: <40628D10.7040808@broadpark.no> References: <40608276.7040008@broadpark.no> <40628D10.7040808@broadpark.no> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Message-Id: <8227414C-7E35-11D8-B430-000A95AF004E@codeconsult.ch> Content-Transfer-Encoding: quoted-printable From: Bertrand Delacretaz Subject: Re: map:generate and gzip content Date: Thu, 25 Mar 2004 09:22:08 +0100 To: users@cocoon.apache.org X-Mailer: Apple Mail (2.613) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Le 25 mars 04, =E0 08:41, Magne Skjeret a =E9crit : >> ...I have a server giving xml out on request. The response is always=20= >> gzipped, http header or not. >> Is there anyway that map:generate can take in gzip and unpack it=20 >> before it is parsed?... AFAIK Cocoon doesn't currently handle gzipped input, but if you look at=20= the zip: protocol and ZipSource implementation in the scratchpad, for=20 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=20= 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