-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Add support for 'Access-Control-Expose-Headers' using --cors #545
Comments
This issue has been inactive for 180 days |
This issue has been inactive for 180 days |
Hi, any update on this issue? I would recommend that |
ben-z
added a commit
to ben-z/http-server
that referenced
this issue
Apr 11, 2023
…s to CORS-safelisted headers Similar to this (stale) PR: http-party#546 Resolves http-party#545 Usable for cruise-automation/webviz#247
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
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
The text was updated successfully, but these errors were encountered: