diff options
| author | Bond_009 <bond.009@outlook.com> | 2019-07-29 23:47:25 +0200 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2019-08-11 15:54:58 +0200 |
| commit | 5eaf5465a55df0359f85077b7922ca4a45681831 (patch) | |
| tree | 73b87fef4f2b7e857bdd4177d7fdce3fe79aaaeb /MediaBrowser.Common/Net/HttpRequestOptions.cs | |
| parent | 1ad67e223f581efd417efa2bb1cb626c50a6f5a9 (diff) | |
Check checksum for plugin downloads
* Compare the MD5 checksum when downloading plugins
* Reduced log spam due to http requests
* Removed 'GetTempFileResponse' function from HttpClientManager
* Fixed caching for HttpClientManager
Diffstat (limited to 'MediaBrowser.Common/Net/HttpRequestOptions.cs')
| -rw-r--r-- | MediaBrowser.Common/Net/HttpRequestOptions.cs | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/MediaBrowser.Common/Net/HttpRequestOptions.cs b/MediaBrowser.Common/Net/HttpRequestOptions.cs index 76bd35e57..94b972a02 100644 --- a/MediaBrowser.Common/Net/HttpRequestOptions.cs +++ b/MediaBrowser.Common/Net/HttpRequestOptions.cs @@ -64,12 +64,6 @@ namespace MediaBrowser.Common.Net set => RequestHeaders[HeaderNames.Host] = value; } - /// <summary> - /// Gets or sets the progress. - /// </summary> - /// <value>The progress.</value> - public IProgress<double> Progress { get; set; } - public Dictionary<string, string> RequestHeaders { get; private set; } public string RequestContentType { get; set; } @@ -79,10 +73,6 @@ namespace MediaBrowser.Common.Net public bool BufferContent { get; set; } - public bool LogRequest { get; set; } - public bool LogRequestAsDebug { get; set; } - public bool LogErrors { get; set; } - public bool LogErrorResponseBody { get; set; } public bool EnableKeepAlive { get; set; } @@ -105,8 +95,6 @@ namespace MediaBrowser.Common.Net { RequestHeaders = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase); - LogRequest = true; - LogErrors = true; CacheMode = CacheMode.None; DecompressionMethod = CompressionMethod.Deflate; } |
