def http_response(self, request, response):
        if not (200 <= response.code < 300 or
                response.code == NOT_MODIFIED):
            response = self.parent.error('http', request, response,
                                         response.code, response.msg,
                                         response.info())

        return response
dataset/ETHPy150Open reviewboard/rbtools/rbtools/api/request.py/ReviewBoardHTTPErrorProcessor.http_response/original