mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 18:11:27 -07:00
enable httpclient decompression
This commit is contained in:
parent
5fdb341918
commit
bdcd58f4cb
@ -1,6 +1,7 @@
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using System.IO.Compression;
|
||||
using System.Net;
|
||||
using System.Net.Http;
|
||||
|
||||
using Microsoft.Win32;
|
||||
@ -66,7 +67,7 @@ namespace Bloxstrap
|
||||
"By default, two mod presets are provided for restoring the old death\n" +
|
||||
"sound and the old mouse cursor.\n";
|
||||
|
||||
public static readonly HttpClient Client = new();
|
||||
public static readonly HttpClient Client = new(new HttpClientHandler { AutomaticDecompression = DecompressionMethods.All });
|
||||
|
||||
private string? LaunchCommandLine;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user