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

Allow clients to read custom response headers #2712

Closed
wants to merge 1 commit into from
Closed

Allow clients to read custom response headers #2712

wants to merge 1 commit into from

Conversation

artworkad
Copy link

I was trying to read a Content-Range header in angularjs in order to build a proper pagination. But it simply was not visible to angular because the header was not exposed. We must allow developers to whitelist allowed headers with Access-Control-Expose-Headers.

#2550
#2542

@sgress454
Copy link
Member

Merged. Thanks!

@sylvainlap
Copy link
Contributor

The exposeHeaders attribute should be documented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants