use the same mimetypes as pypi does