django-ratelimit
django-ratelimit copied to clipboard
Add Retry-After header to response in middleware
After #165, it should be fairly quick to add an actual Retry-After header in the middleware, provided:
- it's opted-into via a setting, and
- it hasn't already been added by the
RATELIMIT_VIEW.