tika.detector module¶ tika.detector.from_buffer(string, config_path=None, requestOptions={})[source]¶ Detects MIME type of the buffered content :param string: buffered content whose type needs to be detected :return: tika.detector.from_file(filename, config_path=None, requestOptions={})[source]¶ Detects MIME type of specified file :param filename: file whose type needs to be detected :return: MIME type