Movatterモバイル変換


[0]ホーム

URL:


  1. Web
  2. HTTP
  3. Reference
  4. Headers
  5. Sec-CH-UA-Platform

Sec-CH-UA-Platform header

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

Experimental:This is anexperimental technology
Check theBrowser compatibility table carefully before using this in production.

Secure context: This feature is available only insecure contexts (HTTPS), in some or allsupporting browsers.

The HTTPSec-CH-UA-Platformrequest header is auser agent client hint which provides the platform or operating system on which the user agent is running.For example: "Windows" or "Android".

Sec-CH-UA-Platform is alow entropy hint.Unless blocked by a user agent permission policy, it is sent by default (without the server opting in by sendingAccept-CH).

Header typeRequest header,Client hint
Forbidden request headerYes (Sec- prefix)

Syntax

http
Sec-CH-UA-Platform: <platform>

Directives

<platform>

One of the following strings:"Android","Chrome OS","Chromium OS","iOS","Linux","macOS","Windows", or"Unknown".

Examples

Using Sec-CH-UA-Platform

AsSec-CH-UA-Platform is alow entropy hint it is typically sent in all requests.A browser running on a macOS computer might add the following header to all requests.

http
Sec-CH-UA-Platform: "macOS"

Specifications

Specification
User-Agent Client Hints
# sec-ch-ua-platform

Browser compatibility

See also

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2026 Movatter.jp