def get_mime_for_format(self, format):
        try:
            return self.content_types[format]
        except KeyError:
            return 'application/json'
Given a format, attempts to determine the correct MIME type.
dataset/ETHPy150Open mozilla/inventory/vendor-local/src/django-tastypie/tastypie/serializers.py/Serializer.get_mime_for_format