mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-09 18:33:36 +02:00
Refactor response body modification to only allow text-like content types (JSON, YAML, XML, etc.) instead of all HTML responses. Body modification is now blocked for binary content and transfer/content encoded responses, while status code and headers can still be modified. This prevents issues with compressed or streaming responses while maintaining the ability to modify text-based API responses.
4.1 KiB
4.1 KiB