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