浏览代码

fix lastmodified header

Luke Pulverenti 9 年之前
父节点
当前提交
7dbeeadea6
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      MediaBrowser.Server.Implementations/HttpServer/HttpResultFactory.cs

+ 1 - 1
MediaBrowser.Server.Implementations/HttpServer/HttpResultFactory.cs

@@ -534,7 +534,7 @@ namespace MediaBrowser.Server.Implementations.HttpServer
             if (lastDateModified.HasValue && (string.IsNullOrEmpty(cacheKey) || cacheDuration.HasValue))
             if (lastDateModified.HasValue && (string.IsNullOrEmpty(cacheKey) || cacheDuration.HasValue))
             {
             {
                 AddAgeHeader(responseHeaders, lastDateModified);
                 AddAgeHeader(responseHeaders, lastDateModified);
-                responseHeaders["LastModified"] = lastDateModified.Value.ToString("r");
+                responseHeaders["Last-Modified"] = lastDateModified.Value.ToString("r");
             }
             }
 
 
             if (cacheDuration.HasValue)
             if (cacheDuration.HasValue)