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

429 errors should get a http header in the response with timestamp for the next time slot #217

Open
mgerhardy opened this issue Jul 23, 2024 · 0 comments

Comments

@mgerhardy
Copy link

mgerhardy commented Jul 23, 2024

currently i have to wait a random time and retry - it would be better to know how long I have to wait before issuing the next request. This would also again reduce the traffic on your api - because there would be less false-attempts that would still hit the rate limit.

There should be Retry-After in the header.

https://www.rfc-editor.org/rfc/rfc9110.html#name-retry-after

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

No branches or pull requests

1 participant