Commit 45abc5a4 authored by CompileNix's avatar CompileNix

Update default User-Agent

parent bba92cd3
......@@ -47,7 +47,7 @@ namespace Compilenix.HttpHeaderSurvey.Agent.Cli
{
var requestHeaderModule = unit.Resolve<IRequestHeaderModule>();
var list = new List<RequestHeader> { new RequestHeader { Key = "user-agent", Value = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36" }, new RequestHeader { Key = "accept-encoding", Value = "gzip, deflate, br" }, new RequestHeader { Key = "accept-language", Value = "en-US,en;q=0.8,de;q=0.6" }, new RequestHeader { Key = "upgrade-insecure-requests", Value = "1" } };
var list = new List<RequestHeader> { new RequestHeader { Key = "user-agent", Value = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36" }, new RequestHeader { Key = "accept-encoding", Value = "gzip, deflate" }, new RequestHeader { Key = "accept-language", Value = "en-US,en;q=0.8,de;q=0.6" }, new RequestHeader { Key = "upgrade-insecure-requests", Value = "1" } };
foreach (var header in list)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment