Use ALL the decompression methods.

pull/4502/head
crobibero 4 years ago
parent fc3d6278be
commit 5fa4cce4cc

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

Loading…
Cancel
Save