Return 429 with Retry-After for rate-limited requests #127
No reviewers
Labels
No labels
bug
enhancement
epic
needs-info
needs-triage
ready-for-agent
ready-for-human
svd:go
svd:hold
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
dev/mail-mind-mcp!127
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/svd-dev-mail-mind-mcp-126-answer-rate-limited-requests-w-ed8b59de"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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