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

added X-RateLimit-Limit, X-RateLimit-Remaining headers to Access-Control-Expose-Headers configuration #72

Closed
wants to merge 1 commit into from

Conversation

kgmyatthu
Copy link
Contributor

@kgmyatthu kgmyatthu commented May 7, 2021

Fix the issue X-RateLimit-Limit, X-RateLimit-Remaining headers weren't able to be accessed by browsers

This PR try to fix the issue we have with apod-api which describe here #64

I think it is also critical that API consumer can monitor their API limits autonomously in applications. Since Expose Header is not set and thus almost every trusted modern browsers are preventing API consumers from accessing the X-RateLimit-Limit, X-RateLimit-Remaining headers. #64

@kgmyatthu kgmyatthu changed the title added expose header for rate limit and rate limit remaining header added X-RateLimit-Limit, X-RateLimit-Remaining headers to Access-Control-Expose-Headers configuration May 7, 2021
@kgmyatthu kgmyatthu closed this May 7, 2021
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.

1 participant