Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.3] Adds X-RateLimit-Reset header to a throttled response #15275

Merged
merged 1 commit into from
Sep 5, 2016
Merged

[5.3] Adds X-RateLimit-Reset header to a throttled response #15275

merged 1 commit into from
Sep 5, 2016

Conversation

dschniepp
Copy link
Contributor

@dschniepp dschniepp commented Sep 5, 2016

This change will add the X-RateLimit-Reset header to get a non relative value for the next request. In an async-environmet Retry-After can lead to unnecessary delays in request processing.
Further more it is good practice for responding throttling headers (github, twitter, auth0, ...).

@GrahamCampbell GrahamCampbell changed the title Adds X-RateLimit-Reset header to a throttled response [5.3] Adds X-RateLimit-Reset header to a throttled response Sep 5, 2016
@taylorotwell taylorotwell merged commit eeae0bb into laravel:5.3 Sep 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants