File tree Expand file tree Collapse file tree
UniGetUI.PackageEngine.Operations Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,12 +15,6 @@ namespace UniGetUI.Core.Tools
1515{
1616 public static class CoreTools
1717 {
18-
19- public static HttpClientHandler HttpClientConfig
20- {
21- get => new HttpClientHandler ( ) { AutomaticDecompression = DecompressionMethods . All } ;
22- }
23-
2418 public static HttpClientHandler GenericHttpClientParameters
2519 {
2620 get
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ protected override async Task<OperationVeredict> PerformOperation()
6060 }
6161
6262 Line ( $ "Download URL found at { downloadUrl } ", LineType . Information ) ;
63- using var httpClient = new HttpClient ( CoreTools . HttpClientConfig ) ;
63+ using var httpClient = new HttpClient ( CoreTools . GenericHttpClientParameters ) ;
6464 using var response = await httpClient . GetAsync ( downloadUrl , HttpCompletionOption . ResponseHeadersRead ) ;
6565
6666 response . EnsureSuccessStatusCode ( ) ;
You can’t perform that action at this time.
0 commit comments