@classmethod
def _connexion_to_framework_response(cls, response, mimetype, extra_context
    =None):
    """ Cast ConnexionResponse to framework response class """
    return cls._build_response(mimetype=response.mimetype or mimetype,
        status_code=response.status_code, content_type=response.
        content_type, headers=response.headers, data=response.body,
        extra_context=extra_context)
