Hi Christian,

Thx for your reply.

I'm using the embedded Jett via basexhttp service.

Not using RESTXQ - basic REST is what we need for this project.

Good idea to ask the Jetty devs - I'll try that.

kind regards,

Stefan


-----Ursprüngliche Nachricht-----
Von: Christian Grün [mailto:christian.gr...@gmail.com]
Gesendet: Dienstag, 1. Oktober 2019 14:47
An: Stefan Koch <k...@buit-solutions.com>
Cc: BaseX <basex-talk@mailman.uni-konstanz.de>
Betreff: Re: [basex-talk] HTTPServer + gzip compression


Hi Stefan,

Do you work with an embedded Jetty instance (i.e., did you run
basexhttp), or do you use BaseX as servlet? In the latter case, this
may need to be tackled by the Jetty developers. Did you address this
on their mailing list?

Another alternative could be to include GZIP support in RESTXQ, and
send gzipped responses whenever the client send a corresponding
Accept-Encoding header. I’ll have some more thoughts on that.

Best,
Christian




On Tue, Sep 24, 2019 at 8:09 PM Stefan Koch <k...@buit-solutions.com> wrote:
>
> Hi,
> I'm struggling to get gzip compression working.
> I'm using the REST module.
> http://docs.basex.org/wiki/REST
> Version: BaseX 9.2.2
> Tried to add the handler in jetty.xml as descriped here:
> https://www.eclipse.org/jetty/documentation/current/gzip-filter.html
> But it didn't work. Tried gzip filter via web.xml - but it is deprecated
> since jetty 9.3.
> Gzip handler is the correct way to do it.
> Searched the mailling list, similar problem was reported here:
> https://mailman.uni-konstanz.de/pipermail/basex-talk/2019-February/014160.html
> Unfortunately no solution :(
> Not much experience with embedded jetty - but adding gzip compression is
> straight forward in tomcat or apache - no clue why it doesn't
> work.Shouldn't be that hard - and it's kinda a default feature.
> Did anybody get it to work? Any tipps?
> Thanks
> Stefan Koch
>
> B&IT Solutions
> Dipl.-Kfm. Rudolf Markus Petri
> Lietzenburger Str. 77
> 10719 Berlin
> Tel: 0049 30 8867 6099
> Fax: 0049 30 8867 6159
> Mail: k...@buit-solutions.com
> Web: www.buit-solutions.com

Reply via email to