Hi Eric,

Did you have a look at the man pages of Tomcat? Google turned up with this:

http://tomcat.apache.org/tomcat-4.1-doc/config/coyote.html

Which mentioned two parameters that might be of interest to you: 
compressableMimeType and compression

Kind regards,
Geert

>


Drs. G.P.H. Josten
Consultant


http://www.daidalos.nl/
Daidalos BV
Source of Innovation
Hoekeindsehof 1-4
2665 JZ Bleiswijk
Tel.: +31 (0) 10 850 1200
Fax: +31 (0) 10 850 1199
http://www.daidalos.nl/
KvK 27164984
De informatie - verzonden in of met dit emailbericht - is afkomstig van 
Daidalos BV en is uitsluitend bestemd voor de geadresseerde. Indien u dit 
bericht onbedoeld hebt ontvangen, verzoeken wij u het te verwijderen. Aan dit 
bericht kunnen geen rechten worden ontleend.


> From: [email protected]
> [mailto:[email protected]] On Behalf Of
> Danny Sokolsky
> Sent: dinsdag 6 januari 2009 20:47
> To: General Mark Logic Developer Discussion
> Subject: RE: [MarkLogic Dev General] xdmp:http-get and gzip
>
> The zip built-ins (xdmp:zip-get et al) do not do gzip, just
> zip.  You will have to send the binary content off somewhere
> else (to Java for example, or preprocess it before it gets to
> MarkLogic) to gunzip it.  If it was zip you could make it
> work completely within MarkLogic Server.
> Maybe there is a parameter to Apache-Coyote to use zip
> instead of gzip?
>
> -Danny
>
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of
> Eric Palmitesta
> Sent: Tuesday, January 06, 2009 10:31 AM
> To: ML Developer Mailing List
> Subject: [MarkLogic Dev General] xdmp:http-get and gzip
>
> I have an Apache-Coyote/1.1 server which likes to send data
> gip'd.  I've
>
> changed the default Accept-Encoding in FireFox from
> "gzip,deflate" to ""
>
>   and "*", and the response Content-Encoding is still "gzip"
> (should I be trying something else?).  For now I'm assuming
> that there isn't a way
>
> to force the server not to send compressed binary data.
>
> Can MarkLogic's xdmp:http-get handle gzip Content-Encoding?
>
> I'm getting "Invalid UTF-8 escape sequence, document is not
> UTF-8 encoded", I believe because it's operating on binary
> (gzip) data.  The data I'm requesting is xml.
>
> Is there maybe a way to use xdmp:zip-get to re-inflate the stream?
>
> Cheers,
>
> Eric
> _______________________________________________
> General mailing list
> [email protected]
> http://xqzone.com/mailman/listinfo/general
> _______________________________________________
> General mailing list
> [email protected]
> http://xqzone.com/mailman/listinfo/general
>

_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to