You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While these headers aren't necessarily standardized, many APIs return X-RateLimit-*, and some also return X-Rate-Limit-* headers. Most commonly, there's Limit, Remaining, and Reset headers, with Scope also being somewhat common (denoting that multiple rate limits are in use depending on the endpoint, as well as which rate limit is current being reported on). It would make sense to implement these headers to automatically set the rate limiter's internal values, that way the rate limiter and the API endpoint are synchronized in their expectations of when things should happen
The text was updated successfully, but these errors were encountered:
While these headers aren't necessarily standardized, many APIs return
X-RateLimit-*
, and some also returnX-Rate-Limit-*
headers. Most commonly, there'sLimit
,Remaining
, andReset
headers, withScope
also being somewhat common (denoting that multiple rate limits are in use depending on the endpoint, as well as which rate limit is current being reported on). It would make sense to implement these headers to automatically set the rate limiter's internal values, that way the rate limiter and the API endpoint are synchronized in their expectations of when things should happenThe text was updated successfully, but these errors were encountered: