Skip to content

CORS - expose X- headers #285

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

Open
vas3a opened this issue May 19, 2022 · 0 comments
Open

CORS - expose X- headers #285

vas3a opened this issue May 19, 2022 · 0 comments

Comments

@vas3a
Copy link
Collaborator

vas3a commented May 19, 2022

When doing a CORS request and trying to access the X- headers (Eg. X-Total) from the response, I'm getting blocked by the CORS policies.

Can we have the X- headers exposed for easy access? eg. using Access-Control-Expose-Headers.

This is mostly useful in instances where we only need just the headers (HEAD requests) and not the actual body.

Thanks!

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

No branches or pull requests

1 participant