apache / apisix

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

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

Open Fsystem opened 3 days ago

Fsystem commented 3 days 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 3 days ago

When I set encode gzip, there is no error.