diff --git a/Binance.Net/ExtensionMethods/ServiceCollectionExtensions.cs b/Binance.Net/ExtensionMethods/ServiceCollectionExtensions.cs index 295e77e6c..a1dec4c8a 100644 --- a/Binance.Net/ExtensionMethods/ServiceCollectionExtensions.cs +++ b/Binance.Net/ExtensionMethods/ServiceCollectionExtensions.cs @@ -43,6 +43,7 @@ public static IServiceCollection AddBinance( options.Timeout = restOptions.RequestTimeout; }).ConfigurePrimaryHttpMessageHandler(() => { var handler = new HttpClientHandler(); + handler.AutomaticDecompression = DecompressionMethods.GZip | DecompressionMethods.Deflate; if (restOptions.Proxy != null) { handler.Proxy = new WebProxy