

def get(self, url, logfile=None, query=None):
    headers = [httputils.Referer(url), httputils.Connection('keep-alive')]
    request = HTTPRequest(url, method='GET', query=query, cookiejar=self._cookiejar, extraheaders=headers)
    resp = request.perform(logfile)
    if (resp.status.code != 200):
        raise RequestResponseError(str(resp.status))
    self._cookiejar.parse_mozilla_lines(resp.cookielist)
    return resp

dataset/ETHPy150Open kdart/pycopia/WWW/pycopia/WWW/client.py Client.get/original