Reputation: 19760
Chrome plans on deprecating and freezing its User-Agent header June, 2020. The User-Agent is useful when debugging certain errors from logs because many browsers have different quirks depending on the version. User-Agent is being deprecated in favor for Accept-CH and Sec-CH-UA-*.
What values do I need to put in Accept-CH in order for the browser to respond with the following user-agent information? What are the accompanying Sec-CH-UA-* headers?
Upvotes: 4
Views: 2113
Reputation: 7855
I found this page.
Sec-CH-UA-Model
and/or Sec-CH-UA-Full-Version
Sec-CH-UA-Platform
and/or Sec-CH-UA-Platform-Version
Sec-CH-UA-Arch
Sec-CH-UA-Mobile
But keep in mind that the client hints are experimental.
To answer your question what you have to send to get the values from above:
Just remove the SEC-CH-UA-
-prefix, so your header looks like this
Accept-CH: UA, Full-Version, Platform, Platform-Version, Arch, Mobile
Upvotes: 5