MDN wants to talk to developers like you: https://qsurvey.mozilla.com/s3/8d22564490d8

Simple response header

这篇翻译不完整。请帮忙从英语翻译这篇文章

一个简单的响应头(或CORS安全列表的响应头)是一个 HTTP 头 ,它是以下之一:

These headers will not be filtered when the response is filtered by CORS, they are considered as safe (as the headers listed in Access-Control-Expose-Headers.

Examples

Extending the safelist

You can extend the list of CORS-safelisted response headers by using the Access-Control-Expose-Headers header:

Access-Control-Expose-Headers: X-Custom-Header, Content-Length

Learn more

文档标签和贡献者

 此页面的贡献者: xgqfrms-GitHub
 最后编辑者: xgqfrms-GitHub,