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

Add support for 'Access-Control-Expose-Headers' using --cors #545

Open
J-Rojas opened this issue Jul 19, 2019 · 3 comments · May be fixed by #546
Open

Add support for 'Access-Control-Expose-Headers' using --cors #545

J-Rojas opened this issue Jul 19, 2019 · 3 comments · May be fixed by #546

Comments

@J-Rojas
Copy link

J-Rojas commented Jul 19, 2019

When using XHR requests, only certain default headers are approved for access. The 'Access-Control-Expose-Headers' cors header allows the XHR requests to read additional headers outside of this default list. It would be helpful to add support for this by adding the entire list of cors headers supplied in the configuration parameter to this response header.

mozilla/pdf.js#3150 (comment)
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Expose-Headers

@github-actions
Copy link

This issue has been inactive for 180 days

@github-actions github-actions bot added the stale label Aug 20, 2021
@thornjad thornjad removed the stale label Aug 20, 2021
@github-actions
Copy link

This issue has been inactive for 180 days

@github-actions github-actions bot added the stale label Feb 17, 2022
@jtbandes
Copy link

Hi, any update on this issue? I would recommend that Accept-Ranges should be included in the exposed headers.

@github-actions github-actions bot removed the stale label Mar 22, 2022
ben-z added a commit to ben-z/http-server that referenced this issue Apr 11, 2023
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 a pull request may close this issue.

3 participants