HTTPHelper Class |
Namespace: CMS.Helpers
public static class HTTPHelper
The HTTPHelper type exposes the following members.
Name | Description | |
---|---|---|
DispositionInlineExtensions |
List of file extensions for which the default disposition is inline.
(Beside image, '.html' and '.htm' extensions, default extensions are '.pdf', '.swf')
|
Name | Description | |
---|---|---|
AddContentDispositionHeader(HttpResponse, Boolean, String) |
Adds Content-Disposition Header to response.
| |
AddContentDispositionHeader(IResponse, Boolean, String) |
Adds Content-Disposition Header to response.
| |
GetFileDisposition |
Gets the file disposition
| |
IsDispositionInline |
Indicates if file with given extension should be displayed inline browser.
| |
SetFileDisposition |
Sets the file disposition to the output
|