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

Include rate limit headers in 429 exception #384

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

zmoon
Copy link

@zmoon zmoon commented Mar 17, 2025

Resolves #382

@russbiggs
Copy link
Member

Thanks @zmoon, we're doing a big refactor of the codebase this week, so the base will change, once we get that merged in we can revisit and see how this matches up and/or needs any moving around to fit into the new structure.

No need to create a new exception, we can just rewrite the TOO_MANY_REQUESTS one to except headers.
Combined the two 'too many requests' methods
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.

Include x-ratelimit-* reponse headers in the 429 (too many requests) case
3 participants