Accept-CH header - HTTP | MDN

Syntax

http

Accept-CH: <client-hints-headers>

// Client hint headers in a comma-separated list
Accept-CH: <ch-header-one>, <ch-header-two>

Examples

Client hint response headers

The following response headers indicate that the server accepts Sec-CH-Viewport-Width and Sec-CH-Width device client hints in subsequent requests. The Vary header indicates which values were used to vary the response based on the accepted client hints.

http

Accept-CH: Sec-CH-Viewport-Width, Sec-CH-Width
Vary: Sec-CH-Viewport-Width, Sec-CH-Width

Specifications

Specification
HTTP Client Hints
# section-3.1

Browser compatibility

See also

Help improve MDN

Learn how to contribute

This page was last modified on by MDN contributors.