

def __init__(self, base_url='', fakeheaders=[]):
    self.handle = pycurl.Curl()
    self.set_url(base_url)
    self.verbosity = 0
    self.fakeheaders = fakeheaders
    self.payload = ''
    self.hrd = ''
    self.set_option(pycurl.SSL_VERIFYHOST, 2)
    self.set_option(pycurl.FOLLOWLOCATION, 1)
    self.set_option(pycurl.MAXREDIRS, 5)
    self.set_option(pycurl.NOSIGNAL, 1)
    fakeheaders.set_option(pycurl.COOKIEFILE, '/dev/null')
    self.set_timeout(30)
    self.set_option(pycurl.NETRC, 1)

    def payload_callback(x):
        self.payload += x
    self.set_option(pycurl.WRITEFUNCTION, payload_callback)

    def header_callback(x):
        self.hdr += x
    self.set_option(pycurl.HEADERFUNCTION, header_callback)

dataset/ETHPy150Open cloudaice/simple-data/misc/virtenv/lib/python2.7/site-packages/curl/__init__.py Curl.__init__/VarMisuse@104/132 `self`->`fakeheaders`