Expose rate limit headers in the format - x-ratelimit-limit-{unit}, x-ratelimit-remaining-{unit} #9465
Unanswered
samay-arcana
asked this question in
Q&A
Replies: 1 comment
|
@zirain is it possible to pick this up quickly / if we want to contribute it what is the procedure and how long will it take to merge into main branch? |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Currently if we have 2 types of rate limits (e.g. Second and Minute) for the same path, enabling
xRateLimitHeaders: DraftVersion03on both rules does not give you two separate sets of headers. It will just cause the headers to flip unpredictably between the second and minute limits depending on which bucket is more exhausted at any given moment.There should be some option to get the response headers of the format so that the client can see rate limiting headers for each unit on the request made.
Logging this and requesting to prioritize this small feature.
All reactions