You are here

guessMimetype

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

Parameters

filename
The file name of the content