Hi,
While developing a custom response transformer plug-in and I’m hitting a puzzle on how to approach compressed responses. I have read through Kong bundled and third-party plugins source code which implement body_filter
or access
but none of those seem to deal with compressed responses (e.g. gzip
).
I’m dealing with content-type
of application/json
exclusively.
The only solution I’ve found is to use the request-transformer
plugin and replace the headers to have Accept-Encoding:identity
.
Is there any other, known Kong solution?
p.s. I have found related suggestions and issues :