add expires response header

pull/702/head
Luke Pulverenti 8 years ago
parent 460e3635fd
commit 55a53cfab7

@ -93,12 +93,14 @@ namespace MediaBrowser.Server.Implementations.HttpServer
} }
} }
} }
if (responseHeaders == null)
if (responseHeaders != null)
{ {
AddResponseHeaders(result, responseHeaders); responseHeaders = new Dictionary<string, string>();
} }
responseHeaders["Expires"] = "-1";
AddResponseHeaders(result, responseHeaders);
return result; return result;
} }

Loading…
Cancel
Save