Decode gzip body before sending to upstream

Hello

I have a situation where clients are sending me gzipped json bodies. Is it possible to decode them before sending them to the upstreams?

Thx