Basic functions for handling mime-types in python
