aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2016-08-13 20:52:32 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2016-08-13 20:52:32 -0400
commit7dbeeadea6edff204276bf87c03c85886d0ff321 (patch)
treec51a905b897a37179c03cf4ec68c5094111dc4b6
parent6e9828ddadd6a86e8422d863afecc8a2fb4a88a6 (diff)
fix lastmodified header
-rw-r--r--MediaBrowser.Server.Implementations/HttpServer/HttpResultFactory.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Server.Implementations/HttpServer/HttpResultFactory.cs b/MediaBrowser.Server.Implementations/HttpServer/HttpResultFactory.cs
index 194904320..27065d0f5 100644
--- a/MediaBrowser.Server.Implementations/HttpServer/HttpResultFactory.cs
+++ b/MediaBrowser.Server.Implementations/HttpServer/HttpResultFactory.cs
@@ -534,7 +534,7 @@ namespace MediaBrowser.Server.Implementations.HttpServer
if (lastDateModified.HasValue && (string.IsNullOrEmpty(cacheKey) || cacheDuration.HasValue))
{
AddAgeHeader(responseHeaders, lastDateModified);
- responseHeaders["LastModified"] = lastDateModified.Value.ToString("r");
+ responseHeaders["Last-Modified"] = lastDateModified.Value.ToString("r");
}
if (cacheDuration.HasValue)