Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rate limit: Limit should apply to all routes #1136

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jwdeitch
Copy link

Exceeding the rate limit should return 403 for all further requests; the route of the request should not matter.

The current behavior is such that exceeding the rate limit will only 403 that particular route.

Exceeding the rate limit should return 403 for all further requests; the route of the request should not matter.

The current behavior is such that exceeding the rate limit will only 403 that particular route.
@thilanga
Copy link
Member

@jwdeitch This is a good PR, Could you resolve the conflict and update the PR?

@specialtactics
Copy link
Member

specialtactics commented Feb 20, 2019

Wouldn't this depend on whether the api throttle is placed in a route group or a particular route? If particular route or even group within larger group - then it shouldn't I would think apply to all routes?

@specialtactics specialtactics self-assigned this Mar 22, 2019
@johannesschobel
Copy link

Actually, the middleware should throw a http status 429 (too many requests) as indicated here ( https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429 )

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.

4 participants