feat: As a user of limit-count, I want to communicate the X-RateLimit-Reset header so my api consumers know when their next allocation window starts, this should be communicated on every response even the rejected response. #8381
Labels
good first issue
Good for newcomers
Description
X-RateLimit-Reset
header onlyX-RateLimit-Remaining
andX-RateLimit-Limit
X-RateLimit-*
headers communicated on a rejected response, here I believe it can be improved to include theX-RateLimit-Reset
header as per draft RFC. This header would also be helpful on response of non-rejected(successful) requestsThe improvement of this approach would be that consumers of an API know when they can attempt another API call without having to "poll" for sucessful responses with Retries.
The text was updated successfully, but these errors were encountered: