此页面由社区从英文翻译而来。了解更多并加入 MDN Web Docs 社区。
Accept-CH
Accept-CH
标头由服务器设置,以指定客户端应在后续请求中应包含哪些客户端客户端提示提示标头。
备注:客户端提示只能在安全源(通过 TLS)上访问。所有安全的请求都应该持久化Accept-CH
标头,以确保客户端提示可靠地发送。
In this article
语法
http
Accept-CH: <comma separated list of client hint headers>
示例
http
Accept-CH: Viewport-Width, WidthVary: Viewport-Width, Width
备注:请牢记要根据所接受的客户端提示更改响应。
规范
Specification |
---|
HTTP Client Hints> # section-3.1> |
浏览器兼容性
Loading…