Appends response headers to the response when requesting a UnifiedFile.
Namespace:
EPiServer.WebAssembly: EPiServer (in EPiServer.dll) Version: 5.2.375.236
Syntax
| C# |
|---|
[ObsoleteAttribute("This method is not used since EPiServer CMS 5 R2, all cache setup is done in SetCachePolicy()", true)] protected virtual void AppendUnifiedFileResponseHeaders( UnifiedFile unifiedFile, Dictionary<string, string> headerDictionary ) |
Parameters
- unifiedFile
- Type: EPiServer.Web.Hosting..::.UnifiedFile
The unified file.
- headerDictionary
- Type: System.Collections.Generic..::.Dictionary<(Of <(String, String>)>)
The header dictionary.
Remarks
You can use this method to add custom headers