Skip to content

Commit

Permalink
This should resove #1784
Browse files Browse the repository at this point in the history
  • Loading branch information
MrHinsh committed Dec 11, 2023
1 parent 191a859 commit c84e48e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,7 @@ private HttpClient CreateHttpClientWithHeaders(string url, string versionParamet
};
client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Basic", Convert.ToBase64String(Encoding.ASCII.GetBytes(string.Format("{0}:{1}", "", Options.AccessToken))));
client.DefaultRequestHeaders.Add("Accept", $"application/json; {versionParameter}");
client.DefaultRequestHeaders.Add("user-agent", "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; .NET CLR 1.0.3705;)");

//client.DefaultRequestHeaders.Add("user-agent", "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; .NET CLR 1.0.3705;)"); #1784
return client;
}

Expand Down

0 comments on commit c84e48e

Please sign in to comment.