HttpUtils Methods |
The HttpUtils type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | GetContentDispositionHeaderValue(Boolean, String) |
Returns a Content-Disposition HTTP header value for a specific file name.
|
![]() ![]() | GetContentDispositionHeaderValue(String, String) |
Returns a Content-Disposition HTTP header value for a specific file name.
|
![]() ![]() | GetSafeMimeTypeValue |
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.
|