diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-05-20 14:03:09 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-05-20 14:03:09 -0400 |
| commit | c11c8bfdb4c5a28c8218e3693021ac980c931321 (patch) | |
| tree | 1fe91b36bea37581d624ec94db80c9a941701682 /MediaBrowser.Common/Net/HttpRequestOptions.cs | |
| parent | 466d00b0214ba80421e53473b8cb5f38278adda1 (diff) | |
re-enable http compression for all providers except for last fm
Diffstat (limited to 'MediaBrowser.Common/Net/HttpRequestOptions.cs')
| -rw-r--r-- | MediaBrowser.Common/Net/HttpRequestOptions.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/MediaBrowser.Common/Net/HttpRequestOptions.cs b/MediaBrowser.Common/Net/HttpRequestOptions.cs index f257b1975..7fb621b01 100644 --- a/MediaBrowser.Common/Net/HttpRequestOptions.cs +++ b/MediaBrowser.Common/Net/HttpRequestOptions.cs @@ -49,5 +49,12 @@ namespace MediaBrowser.Common.Net /// </summary> /// <value><c>true</c> if [enable response caching]; otherwise, <c>false</c>.</value> public bool EnableResponseCache { get; set; } + + public bool EnableHttpCompression { get; set; } + + public HttpRequestOptions() + { + EnableHttpCompression = true; + } } } |
