2 Nov
2021
2 Nov
'21
6:29 p.m.
Hello, I have a RESTXQ function that receives an XML file via HTTP POST. This works perfectly. The client would now like to compress the data with gzip and set the Content-Encoding: gzip header. I set GZIP = true in my .basex file based on the documentation [1] But these gzipped post requests fail - my function is called but content seems to arrive at my function still compressed. (Responses from the server become compressed dynamically as expected - and that works great). Is there something else I need to do to make it work for requests? Many thanks, James [1] https://docs.basex.org/wiki/Options#GZIP