apache / apisix

The Cloud-Native API Gateway
https://apisix.apache.org/blog/
Apache License 2.0
14.54k stars 2.52k forks source link

help request: response-rewrite plugin support for Content-Encoding zstd #11732

Open Fsystem opened 1 week ago

Fsystem commented 1 week ago

Description

When I use Caddy and set encode zstd, I occasionally encounter the error net::ERR_CONTENT_DECODING_FAILED. I noticed that the response header for the JavaScript request is content-encoding: zstd.

Environment

Fsystem commented 1 week ago

When I set encode gzip, there is no error.