Hi Christian,

I added the elements <filter> and <filter-mapping> (see link below) to the web.xml in BaseX. I tried to put them both as children of <web-app> and then as children of servlet (RESTXQ), but neither seems to work. I tried to see whether the content was gzipped using Chrome (Developer), but I was not able to see the specification that the content was gzipped (in the Response Headers section).  Thanks.

Best,
Joseph

2017-03-11 17:08 GMT+01:00 Christian Grün <christian.gruen@gmail.com>:
Dear Joseph, could you give us some more details on what you tried so
far? Does your client accept zipped data? Thanks, Christian


On Thu, Mar 9, 2017 at 1:44 PM, meumapple <meumapple@gmail.com> wrote:
> Hi,
>
> I am trying to enable gzipped compression in RESTXQ. I have been modifying web.xml without success. Where should the filter element [1] be put? Thanks.
>
> Joseph
>
> [1] (http://www.srccodes.com/m/p/article/12/configure-gzip-filter-on-jetty-8-for-dynamic-compression-of-contents)