Add support for 'Access-Control-Expose-Headers' using --cors
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.
https://github.com/mozilla/pdf.js/issues/3150#issuecomment-17582371 https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Expose-Headers
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 Accept-Ranges should be included in the exposed headers.