Skip to main content
Support

KB Article #176401

Gateway not sending gzip data compression back to the client

Problem


After the gateway receives a compressed payload in response from backend service it decompresses the content and sends it in decompressed format back to client/end user.
Both the interface and the remote host set encoding to "gzip,deflate" in their advanced options.

Resolution

Gateway needs the following to be set for the gzip/deflate encoding to work back to a client:

1.  On the HTTP/S interface set the input and output encodings to gzip & deflate.

2. Client MUST sent the "Accept-Encoding" header set to value "gzip,deflate".

 Gateway cannot assume the client is able to receive compressed payload without "Accept-Encoding"