Skip to content

Commit

Permalink
chore: update user agent header
Browse files Browse the repository at this point in the history
  • Loading branch information
DecFox committed Nov 25, 2024
1 parent 89d95fb commit d6ac707
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/model/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ const (
HTTPHeaderAcceptLanguage = "en-US,en;q=0.9"

// HTTPHeaderUserAgent is the User-Agent header used for measuring. The current header
// is 36.86% of the browser population as of 2024-05-13 according to the
// is 31.36% of the browser population as of 2024-11-25 according to the
// https://www.useragents.me/ webpage.
HTTPHeaderUserAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.3"
HTTPHeaderUserAgent = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.6 Safari/605.1.1"
)

// Additional strings used to report HTTP errors. They're currently only used by
Expand Down

0 comments on commit d6ac707

Please sign in to comment.