hunt-extra v1.1.8 (2021-12-13T08:45:08Z)
Home
Dub
Repo
MimeTypeUtils.addMimeMapping
hunt
util
MimeTypeUtils
MimeTypeUtils
Set a mime mapping
@param extension the extension @param type the mime type
class
MimeTypeUtils
void
addMimeMapping
(
string
extension
,
string
type
)
Meta
Source
See Implementation
hunt
util
MimeTypeUtils
MimeTypeUtils
constructors
this
functions
addMimeMapping
getMimeByExtension
getMimeMap
setMimeMap
manifest constants
EncodingProperties
MimeProperties
static functions
addEncoding
getAcceptMIMETypes
getAssumedEncodings
getCharsetAssumedFromContentType
getCharsetFromContentType
getCharsetInferredFromContentType
getContentTypeMIMEType
getContentTypeWithoutCharset
getDefaultMimeByExtension
getInferredEncodings
getKnownMimeTypes
parseAcceptMIMETypes
static variables
CACHE
Set a mime mapping
@param extension the extension @param type the mime type