With a passthrough policy where the backend is returning content-encoding: deflate, the API gateway is not decompressing the returned response body.
Is the deflate encoding supported? The documentation suggests that it is, but it doesn't seem to work.
API Gateway 11.x
Currently, the API Gateway does not support deflate. There are a few workarounds which can be used.
1. Use a tactical assertion which supports deflate and can be used to deflate the response content in the gateway. The functionality of this tactical gzip assertion was partly moved to the EncodeDecodeAssertion but that particular assertion does not support deflate. This tactical assertion can be acquired from Support.
2. Set the accept-encoding header to gzip so the backend response will be in gzip instead of deflate.