aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common/Net/DefaultHttpClientHandler.cs
blob: f1c5f247724af7d6c0fcf1619a955d4bee3596d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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;
        }
    }
}