Browse Source

Use ALL the decompression methods.

crobibero 5 years ago
parent
commit
5fa4cce4cc
1 changed files with 1 additions and 2 deletions
  1. 1 2
      MediaBrowser.Common/Net/DefaultHttpClientHandler.cs

+ 1 - 2
MediaBrowser.Common/Net/DefaultHttpClientHandler.cs

@@ -13,8 +13,7 @@ namespace MediaBrowser.Common.Net
         /// </summary>
         public DefaultHttpClientHandler()
         {
-            // TODO change to DecompressionMethods.All with .NET5
-            AutomaticDecompression = DecompressionMethods.GZip | DecompressionMethods.Deflate;
+            AutomaticDecompression = DecompressionMethods.All;
         }
     }
 }