AdvancedGetFileServiceNotModified Method |
Responds HTTP code 304 Not Modified.
Namespace: CMS.Routing.WebAssembly: CMS.Routing.Web (in CMS.Routing.Web.dll) Version: 13.0.131
Syntax protected CMSNotModifiedResult NotModified(
string contentType,
string eTag,
DateTime lastModified,
bool publicCache = true
)
Parameters
- contentType
- Type: SystemString
The Content-Type header for the response. - eTag
- Type: SystemString
Entity tag of object. - lastModified
- Type: SystemDateTime
Last modified date. - publicCache (Optional)
- Type: SystemBoolean
True if object can be cached by clients and proxies, false if only by clients.
Return Value
Type:
CMSNotModifiedResultSee Also