A CORS-safelisted response header is an HTTP header which has been safelisted so that it will not be filtered when responses are processed by CORS, since they're considered safe (as the headers listed in
). By default, the safelist includes the following response headers:Access-Control-Expose-Headers
Extending the safelist
You can extend the list of CORS-safelisted response headers by using the
header:Access-Control-Expose-Headers
Access-Control-Expose-Headers: X-Custom-Header, Content-Length