hunt-extra v1.1.8 (2021-12-13T08:45:08Z)
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
manifest constants
EncodingProperties
MimeProperties
static functions
addEncoding
getAcceptMIMETypes
getAssumedEncodings
getCharsetAssumedFromContentType
getCharsetFromContentType
getCharsetInferredFromContentType
getContentTypeMIMEType
getContentTypeWithoutCharset
getDefaultMimeByExtension
getInferredEncodings
getKnownMimeTypes
parseAcceptMIMETypes
static variables
CACHE
@param mimeMap A Map of file extension to mime-type.