

def perform(self, logfile=None, cookiefile=None, retries=1, filename=None):
    retry = 0
    while (retry < retries):
        resp = self._perform(logfile, cookiefile, filename)
        if (resp.error or (resp.responseline.code != 200)):
            retry += 1
        else:
            break
    return resp

dataset/ETHPy150Open kdart/pycopia/WWW/pycopia/WWW/client.py HTTPRequest.perform/original