jellyfin/MediaBrowser.Common/Net/DefaultHttpClientHandler.cs

20 lines
493 B
C#
Raw Normal View History

2020-08-19 14:31:45 +02:00
using System.Net;
using System.Net.Http;
namespace MediaBrowser.Common.Net
{
/// <summary>
/// Default http client handler.
/// </summary>
public class DefaultHttpClientHandler : HttpClientHandler
{
2020-08-19 15:09:07 +02:00
/// <summary>
/// Initializes a new instance of the <see cref="DefaultHttpClientHandler"/> class.
/// </summary>
2020-08-19 14:31:45 +02:00
public DefaultHttpClientHandler()
{
2020-11-17 14:57:25 +01:00
AutomaticDecompression = DecompressionMethods.All;
2020-08-19 14:31:45 +02:00
}
}
}