The rate-limit plugin should return a third header for when the time-frame expires and the limit resets. This is especially important for people writing code to avoid going over their limits.
Here's how GitHub defines the header:
Header Name
Description
X-RateLimit-Reset
The time at which the current rate limit window resets in UTC epoch seconds.
The rate-limit plugin should return a third header for when the time-frame expires and the limit resets. This is especially important for people writing code to avoid going over their limits.
Here's how GitHub defines the header:
X-RateLimit-Reset
Since we support multiple rate-limit timeframes we would need to make it the format chosen in https://github.com/Mashape/kong/pull/224