1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-01-02 07:26:24 -05:00

default user agent strings

This commit is contained in:
Darien Raymond 2016-11-06 00:42:54 +01:00
parent 31be091a55
commit 805bbe5fe4
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -49,6 +49,13 @@ func (this *HTTPAuthenticatorRequest) Build() (*http.RequestConfig, error) {
Name: "Host",
Value: []string{"www.baidu.com", "www.bing.com"},
},
{
Name: "User-Agent",
Value: []string{
"Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36",
"Mozilla/5.0 (iPhone; CPU iPhone OS 10_0_2 like Mac OS X) AppleWebKit/601.1 (KHTML, like Gecko) CriOS/53.0.2785.109 Mobile/14A456 Safari/601.1.46",
},
},
},
}