Access-Control-Request-Method

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

请求首部  Access-Control-Request-Method 出现于 preflight request (预检请求)中,用于通知服务器在真正的请求中会采用哪种  HTTP 方法。因为预检请求所使用的方法总是 OPTIONS ,与实际请求所使用的方法不一样,所以这个首部是必要的。
Header type Request header
Forbidden header name yes

语法

Access-Control-Request-Method: <method>

指令

<method>
一种 HTTP请求方法 , 例如 GETPOSTDELETE

示例

Access-Control-Request-Method: POST

规范

Specification Status Comment
Fetch
Access-Control-Request-Method
Living Standard Initial definition.

浏览器兼容性

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidiOS SafariSamsung Internet
Basic supportChrome Full support 4Edge Full support 12Firefox Full support 3.5IE Full support 10Opera Full support 12Safari Full support 4WebView Android Full support 2Chrome Android Full support YesEdge Mobile Full support YesFirefox Android Full support 4Opera Android Full support 12Safari iOS Full support 3.2Samsung Internet Android Full support Yes

Legend

Full support  
Full support

相关内容

文档标签和贡献者

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