Sec-CH-UA-Model Header

Table of Content

Syntax

Sec-CH-UA-Model: "device model"

Directives

The only directive for Sec-CH-UA-Model header is "device model". It represents the model of the device, given as a quoted string.

Examples

For example, if a user with an iPhone 12 accesses a site, the Sec-CH-UA-Model header might be sent as:

Sec-CH-UA-Model: "iPhone 12"

Browser Compatibility

Browser Compatibility
Chrome Supported
Firefox Not Supported
Safari Not Supported
Opera Supported
Edge Supported

How to modify Sec-CH-UA-Model header

ModHeader is a browser extension that can be used to modify HTTP request headers. First install the ModHeader from the Chrome Web Store. After installing, click on the ModHeader icon in your browser to open the extension.

In the "Request Headers" section, click on the 'Add' button. In the 'Name' field, enter "Sec-CH-UA-Model". In the 'Value' field, enter the device model within quotation marks (for example, "iPhone 12"). Click on the green 'Add' button to add the header to your requests.

This can be very useful for testing your website’s response to different device models without needing access to the physical devices.