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
..
2026-11-18 20:26:44 +08:00
2026-11-20 10:49:38 +08:00
2026-11-20 10:49:38 +08:00
2026-11-16 09:58:12 +08:00
2026-11-16 09:58:12 +08:00
2026-11-16 09:58:12 +08:00
2026-11-17 20:34:47 +08:00
2026-11-17 17:56:16 +08:00
2026-11-19 23:59:02 +08:00
2026-11-19 00:26:16 +08:00
2026-11-17 20:34:47 +08:00
2026-11-13 23:09:47 +08:00
2026-11-16 09:58:12 +08:00
2026-11-16 09:58:12 +08:00
2026-11-16 09:58:12 +08:00
2026-11-16 09:58:12 +08:00
2026-11-07 04:38:59 +08:00
2026-11-16 09:58:12 +08:00
2026-11-16 09:58:12 +08:00
2026-11-17 17:56:16 +08:00
2026-11-16 09:58:12 +08:00
2026-11-16 09:58:12 +08:00
2026-11-16 09:58:12 +08:00
2026-11-16 09:58:12 +08:00
2026-11-19 00:26:16 +08:00
2026-11-17 03:22:51 +08:00
2026-11-03 03:05:04 +08:00
2026-11-03 03:05:04 +08:00
2026-11-16 09:58:12 +08:00
2026-11-18 20:26:44 +08:00
2026-11-07 18:10:39 +08:00
2026-11-07 18:10:39 +08:00
2026-11-07 18:10:39 +08:00
2026-11-16 09:58:12 +08:00
2026-11-16 03:02:43 +08:00
2026-11-14 03:36:51 +08:00
2026-11-19 23:59:02 +08:00
2026-11-16 09:58:12 +08:00
2026-11-16 09:58:12 +08:00
2026-11-17 03:29:45 +08:00
2026-11-17 17:56:16 +08:00
2026-11-17 17:56:16 +08:00
2026-11-17 03:22:51 +08:00
2026-11-17 20:34:47 +08:00
2026-11-17 17:56:16 +08:00
2026-11-17 03:22:51 +08:00
2026-11-14 19:12:07 +08:00
2026-11-17 03:22:51 +08:00
2026-11-07 18:10:39 +08:00
2026-11-07 18:10:39 +08:00
2026-11-07 18:10:39 +08:00
2026-11-07 18:10:39 +08:00
2026-11-09 03:19:45 +08:00
2026-11-17 03:22:51 +08:00
2026-11-19 20:59:09 +08:00
2026-11-19 20:59:09 +08:00
2026-11-19 20:59:09 +08:00
2026-11-16 09:58:12 +08:00