Set the 'X-RateLimit-Reset' header#5
Conversation
The 'X-RateLimit-Reset' header will be set to the number of seconds until the current throttle expires.
88de315 to
954bd04
Compare
|
Any news about this PR @davebrace? I'm looking for this kind of feature as well. |
|
@pabuisson No news - waiting for feedback from the project maintainer @jbyck. We're using a custom fork of this project in production that includes this feature. |
|
OK I'm following this PR closely then... and in case it does not merge soon, I'll do the same as you and use a fork of the project. But maybe we'll get some update from @jbyck ! |
|
@pabuisson @davebrace sorry for the lack of communication here. I haven't been monitoring this project very well. This looks reasonable to me, but the tests are failing in Travis. I'll be happy to merge and make a new release once it goes green. I actually don't use this myself anymore in any current projects - if either of you are using it, and are interested, I'd be happy to pass on ownership for someone to maintain more actively. |
Set the 'X-RateLimit-Reset' header to the number of seconds until the current throttle expires.
This implements what was proposed here: #2.