mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-09-03 06:35:00 +08:00
- Introduced `deferredRequestBodyCapture` for spooling and retaining large error-only request bodies for improved logging. - Enhanced `RequestLoggingMiddleware` to capture request body based on size and error criteria. - Implemented decompression and truncation for large request bodies with Zstd encoding. - Added support for deferred API request logging and context tracking. - Included extensive test coverage for error-specific body capture and serialization behavior.