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 21:36:42 +08:00
2026-11-20 10:49:38 +08:00
2026-11-12 00:03:24 +08:00
2026-10-08 00:33:27 +08:00
2026-11-16 09:58:12 +08:00
2026-11-17 17:56:16 +08:00
2026-10-27 23:11:21 +08:00
2026-09-02 20:02:42 +08:00
2026-10-27 23:11:21 +08:00
2026-10-27 23:11:21 +08:00
2026-10-27 23:11:21 +08:00
2026-10-24 01:44:17 +08:00
2026-10-27 23:11:21 +08:00
2026-10-28 10:31:07 +08:00
2026-10-26 10:09:56 +08:00
2026-10-26 10:09:56 +08:00
2026-10-28 10:31:07 +08:00
2026-10-28 10:31:07 +08:00
2026-11-17 15:13:51 +08:00
2026-10-14 05:07:44 +08:00
2026-11-16 09:58:12 +08:00
2026-10-11 14:08:49 +08:00
2026-10-21 23:04:23 +08:00
2026-10-16 07:20:24 +08:00
2026-10-26 16:25:39 +08:00
2026-11-16 09:58:12 +08:00
2026-11-16 09:58:12 +08:00
2026-10-11 11:09:17 +08:00
2026-11-17 17:56:16 +08:00
2026-07-26 14:31:45 +08:00
2026-09-21 04:13:44 +08:00
2026-11-16 09:58:12 +08:00
2026-11-13 03:06:02 +08:00
2026-10-13 07:04:51 +08:00
2026-11-13 22:30:37 +08:00
2026-11-19 00:26:16 +08:00
2026-11-16 09:58:12 +08:00
2026-11-16 09:58:12 +08:00
2026-11-13 22:30:37 +08:00
2026-11-13 07:53:46 +08:00
2026-11-13 22:30:37 +08:00
2026-11-16 09:58:12 +08:00
2026-10-02 05:34:30 +08:00
2026-11-13 02:18:18 +08:00
2026-11-16 09:58:12 +08:00
2026-09-27 14:42:26 +08:00
2026-11-20 00:27:57 +08:00
2026-11-12 10:18:22 +08:00
2026-11-12 00:03:24 +08:00
2026-10-29 15:48:45 +08:00
2026-11-13 22:30:37 +08:00