

def get_URL(self, obj, logfile=None, cookiefile=None, **kwargs):
    'Simple interface for making requests with uniform headers.\n\n        If you supply a string or URL object, it is taken as the URL to\n        fetch. If you supply a list, multiple requests are issued. Returns\n        two lists, as the perform() method does.\n\n        '
    obj_t = type(obj)
    if issubclass(obj_t, (str, urlparse.UniversalResourceLocator)):
        r = HTTPRequest(obj, **kwargs)
        resp = r.perform(logfile, cookiefile)
        if resp.error:
            return ([], [obj_t])
        else:
            return ([resp], [])
    elif issubclass(obj_t, HTTPRequest):
        resp = obj.perform(logfile)
        if resp.error:
            return ([], [resp])
        else:
            return ([resp], [])
    else:
        for url in iter(obj):
            r = HTTPRequest(url, **kwargs)
            self._requests.append(r)
            return self.perform(logfile)

dataset/ETHPy150Open kdart/pycopia/WWW/pycopia/WWW/client.py HTTPConnectionManager.get_URL/VarMisuse@82/198 `resp`->`obj_t`