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-09-27 14:42:26 +08:00
2026-10-23 01:17:43 +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-10-24 20:42:19 +08:00
2026-11-01 21:29:23 +08:00
2026-11-01 21:29:23 +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-10-03 21:57:23 +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-09-24 06:08:51 +08:00
2026-07-23 13:42:08 +08:00
2026-10-23 01:17:43 +08:00
2026-09-27 14:42:26 +08:00
2026-09-27 14:42:26 +08:00
2026-09-27 14:42:26 +08:00
2026-09-27 14:42:26 +08:00
2026-11-17 17:56:16 +08:00
2026-11-16 09:58:12 +08:00
2026-09-27 14:42:26 +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-09-24 06:08:51 +08:00
2026-11-01 20:17:56 +08:00
2026-09-27 14:42:26 +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-10-16 12:04:22 +08:00
2026-11-07 18:10:39 +08:00
2026-09-27 14:42:26 +08:00
2026-09-27 14:42:26 +08:00
2026-11-16 09:58:12 +08:00
2026-10-12 20:21:50 +08:00
2026-10-14 20:23:34 +08:00
2026-09-27 14:42:26 +08:00
2026-11-02 18:09:08 +08:00
2026-10-18 16:12:11 +08:00
2026-06-28 21:19:34 +08:00
2026-11-16 03:02:43 +08:00
2026-10-02 03:49:51 +08:00
2026-11-01 14:20:38 +08:00
2026-10-12 15:50:00 +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-01 22:46:17 +08:00
2026-09-27 14:42:26 +08:00
2026-11-09 03:19:45 +08:00
2026-06-12 23:54:26 +08:00
2026-06-12 23:54:26 +08:00
2026-06-12 23:54:26 +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