def get_body_serializer(self, content_type):
        try:
            return self.body_serializers[content_type]
        except (KeyError, __HOLE__):
            raise exception.InvalidContentType(content_type=content_type)
dataset/ETHPy150Open nii-cloud/dodai-compute/nova/api/openstack/wsgi.py/ResponseSerializer.get_body_serializer