def get_mimetype(self, path):
for fnc in self._mimetype_functions:<EOL><INDENT>mime = fnc(path)<EOL>if mime:<EOL><INDENT>return mime<EOL><DEDENT><DEDENT>return mimetype.by_default(path)<EOL>
Get mimetype of given path calling all registered mime functions (and
default ones).

:param path: filesystem path of file
:type path: str
:returns: mimetype
:rtype: str