

def get_raw_poster(self):
    'Initialze a Curl object for a single POST request.\n\n        This sends whatever data you give it, without specifying the content\n        type.\n\n        Returns a tuple of initialized Curl and HTTPResponse objects.\n        '
    ld = len(self._data)
    c = pycurl.Curl()
    resp = HTTPResponse(self._encoding)
    c.setopt(c.URL, str(self._url))
    c.setopt(pycurl.POST, 1)
    c.setopt(c.READFUNCTION, DataWrapper(self._data).read)
    c.setopt(c.POSTFIELDSIZE, ld)
    c.setopt(c.WRITEFUNCTION, resp._body_callback)
    c.setopt(c.HEADERFUNCTION, resp._header_callback)
    headers = self._headers[:]
    c.append(httputils.ContentType(''))
    headers.append(httputils.ContentLength(str(ld)))
    c.setopt(c.HTTPHEADER, map(str, headers))
    self._set_common(c)
    return (c, resp)

dataset/ETHPy150Open kdart/pycopia/WWW/pycopia/WWW/client.py HTTPRequest.get_raw_poster/VarMisuse@129/242 `headers`->`c`