def _guess_type(self, full_path):
        return mimetypes.guess_type(full_path)[0] or 'text/plain'
Guess the mime type using the mimetypes module.
dataset/ETHPy150Open cloudera/hue/tools/ace-editor/static.py/Cling._guess_type