diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-11-24 11:29:23 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-11-24 11:29:23 -0500 |
| commit | 9606a2a710614404b4dda96cceff688314a1ec89 (patch) | |
| tree | 024ecd23b21be91f752c73ed7a6278e922c6276b /Emby.Server.Implementations/HttpServer/HttpResultFactory.cs | |
| parent | 8bc4d49c8967f850d0b76ee8896bbc8ce3e50424 (diff) | |
filter duplicate recordings based on showId
Diffstat (limited to 'Emby.Server.Implementations/HttpServer/HttpResultFactory.cs')
| -rw-r--r-- | Emby.Server.Implementations/HttpServer/HttpResultFactory.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/HttpServer/HttpResultFactory.cs b/Emby.Server.Implementations/HttpServer/HttpResultFactory.cs index f65331ec7..313db6a75 100644 --- a/Emby.Server.Implementations/HttpServer/HttpResultFactory.cs +++ b/Emby.Server.Implementations/HttpServer/HttpResultFactory.cs @@ -100,7 +100,8 @@ namespace Emby.Server.Implementations.HttpServer responseHeaders = new Dictionary<string, string>(); } - if (addCachePrevention) + string expires; + if (addCachePrevention && !responseHeaders.TryGetValue("Expires", out expires)) { responseHeaders["Expires"] = "-1"; } |
