This repository has been archived by the owner on Nov 1, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 274
Send informational headers on every response #30
Comments
@azzlack |
Twitter has a single rate limit period(15 minutes), WebApiThrottle lets you specify multiple periods: per second, minute, hour, day and week. Injecting 15 headers in the response (3 for each period) will add too much weight to the response. I'am opened to suggestions on how can this be accomplish without polluting the response. |
Is there a way to query the values to set this headers in my own Filter? |
Any news on this? |
This has been implemented in the ASP.NET Core version. |
I added a custom solution under #126 for the non-core version of this |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Would be nice to send the
X-Rate-Limit-Limit
,X-Rate-Limit-Remaining
,X-Rate-Limit-Reset
headers back on each response so users of the api can deal with it on their side before it becomes a problem.Like https://dev.twitter.com/rest/public/rate-limiting
The text was updated successfully, but these errors were encountered: