Sec-Fetch-User
Baseline 2023
Newly available
Since March 2023, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.
Sec-Fetch-User
获取元数据标头表明了一个导航请求是否由用户激活触发。
Header type | Fetch Metadata Request Header |
---|---|
Forbidden header name | 只要包含前缀 Sec- 都属于应用程序禁止修改的 HTTP 消息头,用户代理保留全部对它们的控制权 |
CORS-safelisted request header |
语法
Sec-Fetch-User: ?0 Sec-Fetch-User: ?1
值
示例
暂时没有内容
规范
Specification |
---|
Fetch Metadata Request Headers # sec-fetch-user-header |
浏览器兼容性
BCD tables only load in the browser