Click or drag to resize
GetFileServiceSetResponseHeaders Method
Sets response headers.

Namespace: CMS.Routing.Web
Assembly: CMS.Routing.Web (in CMS.Routing.Web.dll) Version: 13.0.131
Syntax
C#
protected void SetResponseHeaders(
	CMSFileResult fileResult,
	string fileName,
	string extension,
	string mimeType
)

Parameters

fileResult
Type: CMS.Base.RoutingCMSFileResult
The CMSFileResult object to set properties on.
fileName
Type: SystemString
File name
extension
Type: SystemString
File extension
mimeType
Type: SystemString
File MIME type
See Also