hunt-extra v1.0.10 (2021-04-13T02:41:33Z)
Home
Dub
Repo
MimeTypeUtils.setMimeMap
hunt
util
MimeTypeUtils
MimeTypeUtils
@param mimeMap A Map of file extension to mime-type.
class
MimeTypeUtils
void
setMimeMap
(
Map
!(
string
,
string
)
mimeMap
)
Meta
Source
See Implementation
hunt
util
MimeTypeUtils
MimeTypeUtils
constructors
this
functions
addMimeMapping
getMimeByExtension
getMimeMap
setMimeMap
static functions
getAcceptMIMETypes
getAssumedEncodings
getCharsetAssumedFromContentType
getCharsetFromContentType
getCharsetInferredFromContentType
getContentTypeMIMEType
getContentTypeWithoutCharset
getDefaultMimeByExtension
getInferredEncodings
getKnownMimeTypes
parseAcceptMIMETypes
static variables
CACHE
@param mimeMap A Map of file extension to mime-type.