def https_response(self, request, response):
        code, msg, hdrs = response.code, response.msg, response.info()
        if code >= 300:
            response = self.parent.error(
                'http', request, response, code, msg, hdrs)
        return response
dataset/ETHPy150Open plivo/plivohelper-python/plivohelper.py/HTTPErrorProcessor.https_response/original