这篇翻译不完整。请帮忙从英语翻译这篇文章。
请求首部
Access-Control-Request-Method 出现于 preflight request (预检请求)中,用于通知服务器在真正的请求中会采用哪种 HTTP 方法。因为预检请求所使用的方法总是 OPTIONS ,与实际请��所使用的方法不一样,所以这个首部是必要的。| Header type | Request header |
|---|---|
| Forbidden header name | yes |
语法
Access-Control-Request-Method: <method>
指令
示例
Access-Control-Request-Method: POST
规范
| Specification | Status | Comment |
|---|---|---|
| Fetch Access-Control-Request-Method |
Living Standard | Initial definition. |
浏览器兼容性
The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
| 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 |

