Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…tory into develop
  • Loading branch information
Ali-YousefiTelori committed Oct 26, 2023
2 parents 8b3733f + fa98c78 commit f70bb7e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@ public abstract class BaseHandlerTest
public HttpClient GetHttpClient()
{
HttpClient httpClient = default;
// if (System.Environment.OSVersion.Platform != PlatformID.Unix)
// {
//#if (NET452)
// httpClient = new HttpClient();
//#else
// var handler = new WinHttpHandler();
// httpClient = new HttpClient(handler);
//#endif
// }
// else
httpClient = new HttpClient();
// if (System.Environment.OSVersion.Platform != PlatformID.Unix)
// {
//#if (NET452)
// httpClient = new HttpClient();
//#else
// var handler = new WinHttpHandler();
// httpClient = new HttpClient(handler);
//#endif
// }
// else
httpClient = new HttpClient();

#if (!NET452 && !NET48)
httpClient.DefaultRequestVersion = HttpVersion.Version20;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#if(NET6_0_OR_GREATER)
#if (NET6_0_OR_GREATER)
using Microsoft.AspNetCore.Http;
using System;
using System.IO;
Expand Down

0 comments on commit f70bb7e

Please sign in to comment.