Basic functions for handling mimetypes in Python
