©
Ce document utilise Manuel du site Web PHP chinois Libérer
Access-Control-Request-Headers
发出请求时报头用于预检请求让服务器知道哪些 HTTP 头的实际请求时将被使用。
Header type | Request header |
---|---|
Forbidden header name | yes |
Access-Control-Request-Headers: <header-name>, <header-name>, ...
<header-name> 请求中包含的 HTTP 的 header 的逗号分隔列表。
Access-Control-Request-Headers: X-PINGOTHER, Content-Type
Specification | Status | Comment |
---|---|---|
FetchThe definition of 'Access-Control-Request-Headers' in that specification. | Living Standard | Initial definition. |
Feature | Chrome | Firefox | Edge | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|---|
Basic Support | 4 | 3.5 | 12 | 10 | 12 | 4 |
Feature | Android | Chrome for Android | Edge mobile | Firefox for Android | IE mobile | Opera Android | iOS Safari |
---|---|---|---|---|---|---|---|
Basic Support | 2.1 | (Yes) | (Yes) | 1.0 | (Yes) | 12 | 3.2 |