Return 429 with Retry-After for rate-limited requests #127

Merged
Collaborator

Move throttling into post-authentication ASGI middleware keyed by client_id. Add retry-delay calculation, preserve unknown-token 401 responses, log throttles at INFO, and update security documentation and regression tests.

Validation: pristine baseline 65 passed; updated filtered suite 67 passed; full suite 799 passed, 8 skipped, 18 deselected. Lint, type checking, package build, and standards self-review passed.

Closes #126
Co-Authored-By: gpt-6.1-sol noreply@openai.com

Move throttling into post-authentication ASGI middleware keyed by client_id. Add retry-delay calculation, preserve unknown-token 401 responses, log throttles at INFO, and update security documentation and regression tests. Validation: pristine baseline 65 passed; updated filtered suite 67 passed; full suite 799 passed, 8 skipped, 18 deselected. Lint, type checking, package build, and standards self-review passed. Closes #126 Co-Authored-By: gpt-6.1-sol <noreply@openai.com>
Move throttling into post-authentication ASGI middleware keyed by client_id. Add retry-delay calculation, preserve unknown-token 401 responses, log throttles at INFO, and update security documentation and regression tests.

Validation: pristine baseline 65 passed; updated filtered suite 67 passed; full suite 799 passed, 8 skipped, 18 deselected. Lint, type checking, package build, and standards self-review passed.

Closes #126
Co-Authored-By: gpt-6.1-sol <noreply@openai.com>
svc-svd-writer deleted branch feat/svd-dev-mail-mind-mcp-126-answer-rate-limited-requests-w-ed8b59de 2026-11-02 03:22:56 +00:00
Sign in to join this conversation.
No description provided.