http://docs.python.org/2/library/mimetypes.html