add expires response header
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user