diff options
| author | Luke <luke.pulverenti@gmail.com> | 2016-08-13 02:34:55 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-08-13 02:34:55 -0400 |
| commit | 9edd42c94cda3e2c025c01010da7f1d310903790 (patch) | |
| tree | b59bb33b1d3b549d4e6c8ada00bd9a2198004727 /MediaBrowser.Server.Implementations/HttpServer/HttpResultFactory.cs | |
| parent | 3878da49a5323902a77c997fe5a409bfbc125c1c (diff) | |
| parent | c18b8ec608b44e04d17a1ef02a615b985ca00e7b (diff) | |
Merge pull request #2052 from MediaBrowser/dev
Dev
Diffstat (limited to 'MediaBrowser.Server.Implementations/HttpServer/HttpResultFactory.cs')
| -rw-r--r-- | MediaBrowser.Server.Implementations/HttpServer/HttpResultFactory.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Server.Implementations/HttpServer/HttpResultFactory.cs b/MediaBrowser.Server.Implementations/HttpServer/HttpResultFactory.cs index c0a2a5eb3..194904320 100644 --- a/MediaBrowser.Server.Implementations/HttpServer/HttpResultFactory.cs +++ b/MediaBrowser.Server.Implementations/HttpServer/HttpResultFactory.cs @@ -275,7 +275,7 @@ namespace MediaBrowser.Server.Implementations.HttpServer /// <returns>System.Object.</returns> private object GetCachedResult(IRequest requestContext, IDictionary<string, string> responseHeaders, Guid cacheKey, string cacheKeyString, DateTime? lastDateModified, TimeSpan? cacheDuration, string contentType) { - responseHeaders["ETag"] = cacheKeyString; + responseHeaders["ETag"] = string.Format("\"{0}\"", cacheKeyString); if (IsNotModified(requestContext, cacheKey, lastDateModified, cacheDuration)) { |
