aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common/Net/HttpRequestOptions.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-05-06 22:28:19 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-05-06 22:28:19 -0400
commit0d025f7fb620bf2a24ca9aa4e5994f132e02e7c0 (patch)
tree76137f5f868ed81725d29bbdc6ac0e3b57c304d8 /MediaBrowser.Common/Net/HttpRequestOptions.cs
parente1dd361c7bf05af49d9210ab679e85fa00870990 (diff)
beginning remote subtitle downloading
Diffstat (limited to 'MediaBrowser.Common/Net/HttpRequestOptions.cs')
-rw-r--r--MediaBrowser.Common/Net/HttpRequestOptions.cs16
1 files changed, 6 insertions, 10 deletions
diff --git a/MediaBrowser.Common/Net/HttpRequestOptions.cs b/MediaBrowser.Common/Net/HttpRequestOptions.cs
index 11152b30f..192264eed 100644
--- a/MediaBrowser.Common/Net/HttpRequestOptions.cs
+++ b/MediaBrowser.Common/Net/HttpRequestOptions.cs
@@ -53,6 +53,12 @@ namespace MediaBrowser.Common.Net
}
/// <summary>
+ /// Gets or sets the host.
+ /// </summary>
+ /// <value>The host.</value>
+ public string Host { get; set; }
+
+ /// <summary>
/// Gets or sets the progress.
/// </summary>
/// <value>The progress.</value>
@@ -76,8 +82,6 @@ namespace MediaBrowser.Common.Net
public bool LogRequest { get; set; }
public bool LogErrorResponseBody { get; set; }
-
- public HttpRequestCachePolicy CachePolicy { get; set; }
private string GetHeaderValue(string name)
{
@@ -96,17 +100,9 @@ namespace MediaBrowser.Common.Net
EnableHttpCompression = true;
BufferContent = true;
- CachePolicy = HttpRequestCachePolicy.None;
-
RequestHeaders = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
LogRequest = true;
}
}
-
- public enum HttpRequestCachePolicy
- {
- None = 1,
- Validate = 2
- }
}