BaseXdb/basex-api — pull request #51 by dimitarp (2012-03-29 19:17:20+00:00)
Title: HTTP Server GZIP Compression

I thought it would be nice if the embedded Jetty instance uses gzip compression for the responses from REST and RESTXQ. Testing with factbook.xml on localhost does not bring performance improvement but on the internet 1.2 MiB vs. 140 KiB (gzip-ed) should make a difference. This does not bring any performance improvement with HTTP clients which don't advertise gzip support (e.g. curl, XQuery HTTP module).