Function kiwix::getMimeTypeForFile

Function Documentation

std::string kiwix::getMimeTypeForFile(const std::string &filename)

provides mimetype from filename.

This function provides mimetype from file-name.

Parameters

filename – string containing filename.

Returns

mimetype from filename in string format.