def get_uploader(self):
        c = pycurl.Curl()
        resp = HTTPResponse(self._encoding)
        c.setopt(pycurl.UPLOAD, 1) # does an HTTP PUT
        data = self._data.get("PUT", "")
        filesize = len(data)
        c.setopt(pycurl.READFUNCTION, DataWrapper(data).read)
        c.setopt(pycurl.INFILESIZE, filesize)
        c.setopt(c.WRITEFUNCTION, resp._body_callback)
        c.setopt(c.HEADERFUNCTION, resp._header_callback)
        # extra options to avoid hanging forever
        c.setopt(c.URL, str(self._url))
        c.setopt(c.HTTPHEADER, map(str, self._headers))
        self._set_common(c)
        return c, resp
Check if the given nodes form a clique.
dataset/ETHPy150Open kdart/pycopia/WWW/pycopia/WWW/client.py/HTTPRequest.get_uploader--crossover with--dataset/ETHPy150Open pgmpy/pgmpy/pgmpy/base/UndirectedGraph.py/UndirectedGraph.check_clique