Files
CLIProxyAPI/internal/api
Luis Pater 6e7a1b294a fix(api): decode gzip request bodies and honor Content-Encoding on Claude routes
- Add gzip/x-gzip support to the shared request body decoder with the configured decoded-size cap, and drop Content-Encoding after a successful decode so nothing downstream decodes or forwards it again.
- Switch ClaudeMessages and ClaudeCountTokens to handlers.ReadRequestBody, and mirror the change in the plugin auth pre-decode path (gzip support, plus /v1/messages and /v1/messages/count_tokens in handlerDecodesBody) and the request-log capture decoder.

Closes: #7711
2026-11-20 10:49:38 +08:00
..