hunt-extra ~master (2022-03-03T03:00:29Z)
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