feat: start preparing for a cli release (#672)
This diff includes some final changes to be ready for blessing a cli release. These changes are: 1. run `go generate ./...` to update the bundled CA 2. update the header we use for measuring 3. ensure `mk` uses the latest version of several tools Reference issue: https://github.com/ooni/probe/issues/1845
This commit is contained in:
@@ -3,8 +3,8 @@ package httpheader
|
||||
|
||||
// UserAgent returns the User-Agent header used for measuring.
|
||||
func UserAgent() string {
|
||||
// 15.1% as of Dec 06, 2021 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/96.0.4664.45 Safari/537.36"
|
||||
// 13.2% as of Jan 24, 2021 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/96.0.4664.110 Safari/537.36"
|
||||
return ua
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user