Click or drag to resize

HttpUtils Class

HTTP protocol related utility methods.
Inheritance Hierarchy
SystemObject
  PDTec.IceNet.Sdk.UtilsHttpUtils

Namespace:  PDTec.IceNet.Sdk.Utils
Assembly:  PDTec.IceNet.Sdk (in PDTec.IceNet.Sdk.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax
C#
public static class HttpUtils

The HttpUtils type exposes the following members.

Methods
  NameDescription
Public methodStatic memberGetContentDispositionHeaderValue(Boolean, String)
Returns a Content-Disposition HTTP header value for a specific file name.
Public methodStatic memberGetContentDispositionHeaderValue(String, String)
Returns a Content-Disposition HTTP header value for a specific file name.
Public methodStatic memberGetSafeMimeTypeValue
Returns a sanitized Media Type string that is ready to be used as a Response.ContentType value. This is to avoid XSS attacks with user-provided Media Type strings.
Top
See Also