mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-20 15:31:24 +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.
8.6 KiB
8.6 KiB