Skip to content

Commit

Permalink
useragent.go: update the user-agent we use for measuring
Browse files Browse the repository at this point in the history
Part of #757
  • Loading branch information
bassosimone committed Jul 21, 2020
1 parent 5a965ad commit ab6e3bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/httpheader/useragent.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package httpheader

// UserAgent returns the User-Agent header used for measuring.
func UserAgent() string {
// 14.9% as of Jun 25, 2020 according to https://techblog.willshouse.com/2012/01/03/most-common-user-agents/
const ua = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36"
// 18.2% as of Jul 21, 2020 according to https://techblog.willshouse.com/2012/01/03/most-common-user-agents/
const ua = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36"
return ua
}

0 comments on commit ab6e3bb

Please sign in to comment.