Skip to content

feature: add per-endpoint rate limiting middleware - #47

Closed
Iaguiz wants to merge 1 commit into
iklobato:masterfrom
Iaguiz:feature/rate-limit-middleware
Closed

Iaguiz wants to merge 1 commit into
iklobato:masterfrom
Iaguiz:feature/rate-limit-middleware

Conversation

@Iaguiz

@Iaguiz Iaguiz commented Sep 21, 2026

Copy link
Copy Markdown
  • Add EndpointRateLimitMiddleware to enforce rate limits per endpoint
  • Configure rate limits via endpoint Meta.rate_limit = {requests, window}
  • Add X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset headers
  • Return 429 when limit exceeded
  • Add example (19_rate_limit.py) and tests

- Add EndpointRateLimitMiddleware to enforce rate limits per endpoint
- Configure rate limits via endpoint Meta.rate_limit = {requests, window}
- Add X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset headers
- Return 429 when limit exceeded
- Add example (19_rate_limit.py) and tests
@Iaguiz Iaguiz closed this Sep 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant