aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common/Net/HttpRequestOptions.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Common/Net/HttpRequestOptions.cs')
-rw-r--r--MediaBrowser.Common/Net/HttpRequestOptions.cs8
1 files changed, 7 insertions, 1 deletions
diff --git a/MediaBrowser.Common/Net/HttpRequestOptions.cs b/MediaBrowser.Common/Net/HttpRequestOptions.cs
index 72c781096..ba972b622 100644
--- a/MediaBrowser.Common/Net/HttpRequestOptions.cs
+++ b/MediaBrowser.Common/Net/HttpRequestOptions.cs
@@ -91,7 +91,7 @@ namespace MediaBrowser.Common.Net
public bool LogErrorResponseBody { get; set; }
public bool EnableKeepAlive { get; set; }
- public bool EnableUnconditionalCache { get; set; }
+ public CacheMode CacheMode { get; set; }
public TimeSpan CacheLength { get; set; }
private string GetHeaderValue(string name)
@@ -125,4 +125,10 @@ namespace MediaBrowser.Common.Net
RequestContentType = "application/x-www-form-urlencoded";
}
}
+
+ public enum CacheMode
+ {
+ None = 1,
+ Unconditional = 2
+ }
}