aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common.Implementations/HttpClientManager/HttpClientManager.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2013-05-21 23:42:25 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2013-05-21 23:42:25 -0400
commita3ecf6c2b7760935de541568cfdfa3c1c09edda9 (patch)
treec96d2d71c70d92361a80eb571dbdf07a2c278f6c /MediaBrowser.Common.Implementations/HttpClientManager/HttpClientManager.cs
parentbd8513270203a77cf17f1944c18feb6eec4aec29 (diff)
localize library changed messages per user
Diffstat (limited to 'MediaBrowser.Common.Implementations/HttpClientManager/HttpClientManager.cs')
-rw-r--r--MediaBrowser.Common.Implementations/HttpClientManager/HttpClientManager.cs22
1 files changed, 11 insertions, 11 deletions
diff --git a/MediaBrowser.Common.Implementations/HttpClientManager/HttpClientManager.cs b/MediaBrowser.Common.Implementations/HttpClientManager/HttpClientManager.cs
index c84239f92..99ce17ebd 100644
--- a/MediaBrowser.Common.Implementations/HttpClientManager/HttpClientManager.cs
+++ b/MediaBrowser.Common.Implementations/HttpClientManager/HttpClientManager.cs
@@ -162,17 +162,17 @@ namespace MediaBrowser.Common.Implementations.HttpClientManager
using (var message = GetHttpRequestMessage(options))
{
- if (options.EnableResponseCache && cachedInfo != null)
- {
- if (!string.IsNullOrEmpty(cachedInfo.Etag))
- {
- message.Headers.Add("If-None-Match", cachedInfo.Etag);
- }
- else if (cachedInfo.LastModified.HasValue)
- {
- message.Headers.IfModifiedSince = new DateTimeOffset(cachedInfo.LastModified.Value);
- }
- }
+ //if (options.EnableResponseCache && cachedInfo != null)
+ //{
+ // if (!string.IsNullOrEmpty(cachedInfo.Etag))
+ // {
+ // message.Headers.Add("If-None-Match", cachedInfo.Etag);
+ // }
+ // else if (cachedInfo.LastModified.HasValue)
+ // {
+ // message.Headers.IfModifiedSince = new DateTimeOffset(cachedInfo.LastModified.Value);
+ // }
+ //}
if (options.ResourcePool != null)
{