You are here

guessMimetype

guessMimetype(filename) guesses and applies the MIME type to the content based on the given file name.

Parameters

filename
The file name of the content