def get_URL(self, obj, logfile=None, cookiefile=None, **kwargs):
        obj_t = type(obj)
        if issubclass(obj_t, (str, urlparse.UniversalResourceLocator)):
            r = HTTPRequest(obj, **kwargs)
            resp = r.perform(logfile, cookiefile)
            if resp.error:
                return [], [resp] # consistent API
            else:
                return [resp], []
        elif issubclass(obj_t, HTTPRequest):
            resp = obj.perform(logfile)
            if resp.error:
                return [], [resp]
            else:
                return [resp], []
        else: # assumed to be iterable
            for url in iter(obj):
                r = HTTPRequest(url, **kwargs)
                self._requests.append(r)
                return self.perform(logfile)
Called when we are about to reset an LU to retry again.
dataset/ETHPy150Open kdart/pycopia/WWW/pycopia/WWW/client.py/HTTPConnectionManager.get_URL--crossover with--dataset/ETHPy150Open ganeti/ganeti/lib/mcpu.py/OpExecCbBase.NotifyRetry