AppendCacheExtension needs to be AppendHeader

This commit is contained in:
Sebastiaan Janssen
2016-08-04 14:46:07 +02:00
committed by GitHub
parent b9fcda8f39
commit c61a9ee433

View File

@@ -330,7 +330,7 @@ namespace Umbraco.Web
response.Cache.AppendCacheExtension(cacheExtension);
foreach (var header in pcr.Headers)
response.Cache.AppendCacheExtension(string.Format("{0}, {1}", header.Key, header.Value));
response.Cache.AppendHeader(string.Format("{0}, {1}", header.Key, header.Value));
if (pcr.IsRedirect)
{