Files
hapi/.scratch/mvp-issues/03c-rate-limiting-middleware.md
T
2026-11-17 14:39:40 -05:00

14 lines
594 B
Markdown

# 03c: Rate Limiting Middleware
**What to build:** Token-based rate limiting middleware in FastAPI, extensible to Redis or Traefik later.
**Blocked by:** 03b (JWT Authentication Middleware)
**Status:** ready-for-agent
- [ ] Rate limiting middleware implemented (per-token limits)
- [ ] Default rate limit configured (e.g., 100 requests/minute per token)
- [ ] Rate limit headers exposed in responses (`X-RateLimit-Limit`, `X-RateLimit-Remaining`)
- [ ] Rate limit exceeded response returns `429 Too Many Requests`
- [ ] Rate limiting tests written (test client simulates multiple requests)