20 lines
493 B
C#
20 lines
493 B
C#
using System.Net;
|
|
using System.Net.Http;
|
|
|
|
namespace MediaBrowser.Common.Net
|
|
{
|
|
/// <summary>
|
|
/// Default http client handler.
|
|
/// </summary>
|
|
public class DefaultHttpClientHandler : HttpClientHandler
|
|
{
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="DefaultHttpClientHandler"/> class.
|
|
/// </summary>
|
|
public DefaultHttpClientHandler()
|
|
{
|
|
AutomaticDecompression = DecompressionMethods.All;
|
|
}
|
|
}
|
|
}
|