Click or drag to resize
HTTPHelper Class
Provides the methods for the safe access to the HTTPContext.
Inheritance Hierarchy
SystemObject
  CMS.HelpersHTTPHelper

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
Syntax
C#
public static class HTTPHelper

The HTTPHelper type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberDispositionInlineExtensions
List of file extensions for which the default disposition is inline. (Beside image, '.html' and '.htm' extensions, default extensions are '.pdf', '.swf')
Top
Methods
  NameDescription
Public methodStatic memberAddContentDispositionHeader(HttpResponse, Boolean, String)
Adds Content-Disposition Header to response.
Public methodStatic memberAddContentDispositionHeader(IResponse, Boolean, String)
Adds Content-Disposition Header to response.
Public methodStatic memberGetFileDisposition
Gets the file disposition
Public methodStatic memberIsDispositionInline
Indicates if file with given extension should be displayed inline browser.
Public methodStatic memberSetFileDisposition
Sets the file disposition to the output
Top
See Also