Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Turn on by default new HttpClient implementation for .Net and .Net Fr… #558

Merged
merged 9 commits into from
May 12, 2022
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@ void ReadReponseContent(HttpResponseMessage response)
}
public void Execute(string method, string name)
{
if (!Config.GetValueOf("useoldhttpclient", out string useOld) || useOld.StartsWith("y", StringComparison.OrdinalIgnoreCase))
if (Config.GetValueOf("useoldhttpclient", out string useOld) && useOld.StartsWith("y", StringComparison.OrdinalIgnoreCase))
{
WebExecute(method, name);
}
Expand Down