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

Respond with 429 when throttled #528

Merged
merged 1 commit into from
Jul 8, 2020

Conversation

davidc604
Copy link
Contributor

@davidc604 davidc604 commented Jul 3, 2020

Responding with HTTP 429 Too Many Requests status code seems more inline with what actually happened instead of the service unavailable response status code, because technically, the service is still available, it's just the sender has send too many requests in a given amount of time. (Typically a 400s error is client fault, whereas a 500s error is server).

@pkieltyka
Copy link
Member

@VojtechVitek let us know what you think

Copy link
Contributor

@VojtechVitek VojtechVitek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with the above. LGTM.

Thanks for your contribution!

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.

3 participants