Search.setIndex({"docnames": ["callbacks", "curl", "curlmultiobject", "curlobject", "curlshareobject", "files", "index", "install", "internals", "pycurl", "quickstart", "release-notes", "release-process", "thread-safety", "troubleshooting", "unicode", "unimplemented"], "filenames": ["callbacks.rst", "curl.rst", "curlmultiobject.rst", "curlobject.rst", "curlshareobject.rst", "files.rst", "index.rst", "install.rst", "internals.rst", "pycurl.rst", "quickstart.rst", "release-notes.rst", "release-process.rst", "thread-safety.rst", "troubleshooting.rst", "unicode.rst", "unimplemented.rst"], "titles": ["Callbacks", "curl Module Functionality", "CurlMulti Object", "Curl Object", "CurlShare Object", "File Handling", "PycURL \u2013 A Python Interface To The cURL library", "PycURL Installation", "Internals", "pycurl Module Functionality", "PycURL Quick Start", "Release Notes", "Release Process", "Thread Safety", "Troubleshooting", "String And Unicode Handling", "Unimplemented Options And Constants"], "terms": {"For": [0, 2, 3, 5, 6, 7, 10, 13, 14, 15, 16], "more": [0, 3, 6, 7, 10, 11, 14], "fine": [0, 7], "grain": 0, "control": 0, "libcurl": [0, 2, 3, 4, 5, 7, 9, 10, 11, 13, 14, 15, 16], "allow": [0, 3], "number": [0, 2, 7, 10, 11, 12, 15], "associ": [0, 2], "each": [0, 2, 3, 7, 16], "connect": [0, 3, 6, 11, 14], "In": [0, 5, 7, 10, 11, 15, 16], "pycurl": [0, 1, 2, 3, 4, 5, 8, 12, 13, 16], "ar": [0, 2, 3, 5, 6, 7, 8, 10, 11, 12, 13, 14, 15, 16], "defin": [0, 2, 3], "us": [0, 2, 3, 5, 6, 10, 11, 12, 13, 14, 15, 16], "setopt": [0, 2, 3, 4, 6, 10, 15, 16], "method": [0, 2, 3, 4, 5, 10, 11, 14, 16], "curl": [0, 2, 4, 7, 8, 9, 10, 11, 14, 15, 16], "object": [0, 5, 6, 7, 8, 9, 10, 11, 13, 15, 16], "option": [0, 1, 2, 3, 4, 5, 6, 7, 9, 11, 13, 14], "These": [0, 10, 15, 16], "correspond": [0, 2, 3, 4, 7, 9, 16], "curlopt_": [0, 3, 5, 10], "prefix": [0, 2, 3, 4, 10], "remov": [0, 2, 3, 7, 10, 11], "A": [0, 1, 11, 13, 15], "must": [0, 3, 4, 5, 7, 10, 13, 15], "either": [0, 7, 15, 16], "regular": 0, "python": [0, 2, 3, 5, 10, 11, 12, 13, 14, 16], "function": [0, 2, 3, 5, 6, 7, 8, 10, 11, 14], "class": [0, 1, 2, 3, 4, 9, 11, 16], "an": [0, 1, 2, 3, 4, 5, 6, 7, 9, 10, 11, 13, 14, 15, 16], "extens": [0, 1, 6], "type": [0, 2, 3, 10, 14, 15], "There": [0, 7, 10, 11], "some": [0, 3, 7, 11, 15, 16], "limit": [0, 14], "which": [0, 2, 3, 4, 5, 7, 9, 10, 11, 14, 15, 16], "can": [0, 2, 3, 4, 5, 6, 7, 10, 11, 13, 14, 15, 16], "concurr": 0, "compar": [0, 2, 6, 10], "thi": [0, 2, 3, 4, 6, 7, 9, 10, 11, 13, 14, 15, 16], "i": [0, 2, 3, 4, 5, 6, 7, 9, 10, 11, 12, 13, 14, 15, 16], "differ": [0, 2, 3, 6, 7, 10, 11, 13], "specif": [0, 6, 7, 10, 11, 14, 15], "writedata": [0, 3, 10, 14, 15, 16], "cannot": [0, 3, 15], "readdata": [0, 3, 10, 16], "writehead": [0, 3, 15], "practic": 0, "overcom": 0, "have": [0, 2, 3, 4, 5, 6, 7, 10, 11, 14, 15], "instanc": [0, 3, 10, 15, 16], "rather": [0, 3, 7, 10, 11, 15], "attribut": 0, "store": [0, 10, 11, 15], "per": [0, 3, 13], "data": [0, 3, 6, 11, 14, 15], "file": [0, 2, 3, 6, 7, 9, 11, 12, 14], "The": [0, 2, 3, 7, 10, 11, 14, 15], "signatur": 0, "below": [0, 3, 5, 7, 10], "invok": [0, 3, 8, 10, 11, 15, 16], "follow": [0, 2, 3, 4, 6, 7, 15, 16], "applic": [0, 2, 3, 6, 7, 10, 11, 15], "perform": [0, 2, 3, 4, 6, 7, 10, 14, 15], "c": [0, 2, 3, 5, 6, 7, 8, 10, 11, 13, 14, 15], "code": [0, 3, 5, 6, 8, 10, 11, 13, 14, 15, 16], "becaus": [0, 2, 3, 13], "thei": [0, 3, 8, 10, 11, 14, 15], "should": [0, 3, 6, 7, 11, 12, 15, 16], "rais": [0, 2, 3, 4, 11, 15], "except": [0, 2, 3, 4, 7, 10, 11, 14, 15], "failur": [0, 3, 4, 14, 15], "instead": [0, 6, 7, 10, 11, 15], "return": [0, 1, 2, 3, 9, 10, 11, 15], "appropri": [0, 5, 7, 13, 15, 16], "valu": [0, 2, 3, 4, 10, 14, 15], "indic": [0, 7, 11, 14], "individu": 0, "specifi": [0, 1, 2, 3, 4, 7, 10, 15], "expect": [0, 3, 5, 10, 11, 14, 15], "success": [0, 2, 6], "unhandl": 0, "propag": [0, 15], "out": [0, 6, 7, 10, 13], "intercept": 0, "runtim": [0, 7, 11], "fail": [0, 2, 3, 5, 7, 11, 14, 15], "gener": [0, 3, 6, 7, 10, 11, 12, 14, 15], "statu": [0, 2, 10, 14], "turn": [0, 15], "oper": [0, 3, 6, 10, 11, 13, 14, 15], "depend": [0, 3, 6, 7, 11], "rich": [0, 6], "context": [0, 16], "inform": [0, 1, 2, 3, 7, 9, 10, 11, 14], "like": [0, 3, 5, 7, 10, 14, 15], "variou": [0, 11, 16], "wai": [0, 3, 7, 14], "opensocket": 0, "import": [0, 2, 3, 4, 7, 9, 10, 11, 14, 15], "random": [0, 7], "socket": [0, 2, 6, 11], "connectionreject": 0, "pass": [0, 2, 3, 4, 5, 7, 9, 14, 15], "def": [0, 10, 16], "purpos": 0, "curl_address": 0, "alwai": [0, 2, 7], "reject": [0, 2, 3, 14, 15], "attempt": [0, 3, 7, 14, 15], "socket_bad": 0, "creat": [0, 2, 3, 4, 9, 10], "doe": [0, 3, 6, 7, 10, 11, 14, 15, 16], "see": [0, 1, 6, 7, 10, 11, 12], "opensocketexcept": 0, "py": [0, 10, 11, 12, 15], "url": [0, 1, 2, 3, 4, 6, 10, 14, 15], "http": [0, 2, 3, 4, 6, 7, 9, 11, 14, 15], "io": [0, 10, 15], "none": [0, 1, 2, 3, 4, 7, 9, 10, 12], "lambda": 0, "address": [0, 11], "try": [0, 7, 10, 14, 15], "e": [0, 6, 7, 10, 13, 15], "arg": [0, 1], "0": [0, 2, 3, 5, 6, 7, 9, 14, 15], "e_couldnt_connect": 0, "print": [0, 3, 7, 10, 15], "els": [0, 10], "byte": [0, 3, 10, 11, 14, 15], "string": [0, 1, 2, 3, 5, 6, 7, 9, 10, 11], "charact": [0, 15], "written": [0, 6, 10, 15], "write": [0, 3, 5, 6, 7, 16], "curlopt_writefunct": [0, 5], "On": [0, 3, 6, 7, 10, 15], "3": [0, 3, 5, 6, 7, 9, 10, 14, 16], "argument": [0, 2, 3, 4, 5, 9, 11, 15], "mai": [0, 3, 7, 10, 11, 14, 15], "If": [0, 3, 6, 7, 10, 14, 15], "equal": 0, "size": 0, "signifi": [0, 15], "abort": 0, "request": [0, 1, 7, 10, 14, 15], "altern": [0, 7, 15], "ha": [0, 2, 3, 4, 6, 7, 9, 11, 13, 15, 16], "consum": 0, "all": [0, 1, 2, 3, 7, 10, 11, 15], "henc": 0, "succeed": [0, 3], "write_test": 0, "test": [0, 2, 3, 11, 12, 15], "show": 0, "how": [0, 2, 6, 7, 10, 11, 16], "stderr": 0, "stdout": 0, "also": [0, 2, 3, 4, 5, 6, 7, 10, 11, 12, 14], "note": [0, 2, 3, 6, 10, 12], "neither": 0, "impli": [0, 3], "where": [0, 3, 4, 10, 11, 15], "when": [0, 2, 3, 4, 5, 6, 7, 10, 11, 13, 14, 15], "readi": [0, 2], "buf": 0, "sy": [0, 15], "were": [0, 11, 16], "www": [0, 3, 10, 14], "org": [0, 3, 10, 14], "receiv": [0, 7, 10, 14, 15], "curlopt_headerfunct": [0, 5], "header_test": 0, "read": [0, 3, 5, 6, 14, 16], "curlopt_readfunct": [0, 5, 15], "unicod": [0, 3, 6, 11], "consist": [0, 5], "ascii": [0, 3, 11, 15], "point": [0, 3, 7, 9, 15], "onli": [0, 2, 3, 6, 7, 8, 10, 11, 13, 15], "addit": [0, 7, 14], "readfunc_abort": 0, "readfunc_paus": 0, "explan": 0, "file_upload": 0, "distribut": [0, 7, 11, 12, 15], "contain": [0, 2, 3, 7, 11, 15], "offset": 0, "origin": [0, 11], "seek": 0, "curlopt_seekfunct": 0, "ioctl": 0, "cmd": 0, "o": [0, 3, 6, 14], "curlopt_ioctlfunct": 0, "deprec": 0, "messag": [0, 2, 7, 15], "curlopt_debugfunct": 0, "chang": [0, 2, 4, 7, 10, 11], "version": [0, 2, 3, 6, 7, 9, 11, 12, 14, 16], "7": [0, 2, 3, 5, 6, 7, 9, 10, 14, 15, 16], "19": [0, 5, 6, 9, 10, 15, 16], "5": [0, 6, 7, 14, 15], "2": [0, 2, 3, 5, 6, 7, 9, 10, 14], "second": [0, 2], "now": [0, 2, 10, 11], "previous": [0, 2, 7, 11], "wa": [0, 2, 3, 6, 7, 10, 11, 14, 15], "str": [0, 3, 15], "debug_test": 0, "integ": [0, 2, 3], "verbos": [0, 1, 3, 10, 14], "enabl": 0, "debug_typ": 0, "debug_msg": 0, "d": [0, 10], "": [0, 3, 4, 6, 7, 10, 11, 15, 16], "haxx": [0, 2, 4, 7], "se": [0, 2, 4, 7], "1": [0, 1, 2, 3, 6, 7, 9, 10, 15], "total": 0, "meter": 0, "curlopt_progressfunct": 0, "amount": 0, "float": [0, 3], "sinc": 0, "32": [0, 14], "long": [0, 2, 3, 7, 10], "noprogress": 0, "set": [0, 1, 2, 3, 4, 6, 7, 9, 11, 14, 16], "fals": 0, "default": [0, 3, 7, 9, 10, 11, 13], "true": [0, 2, 3, 5, 10, 14, 16], "curlopt_xferinfofunct": 0, "relat": [0, 6, 11], "zero": [0, 2], "vice": [0, 11], "versa": [0, 11], "download_t": 0, "download_d": 0, "upload_t": 0, "upload_d": 0, "slashdot": 0, "int": [0, 2, 3], "open": [0, 3, 5, 10, 14, 15], "curlopt_opensocketfunct": [0, 11], "socktype_": 0, "namedtupl": 0, "famili": 0, "socktyp": 0, "protocol": [0, 6, 15], "addr": 0, "field": [0, 10], "repres": 0, "current": [0, 4, 7, 11], "support": [0, 2, 3, 7, 11, 14, 15], "af_inet": 0, "tupl": [0, 2, 3, 9, 11, 14], "host": [0, 14], "port": [0, 14], "af_inet6": 0, "4": [0, 6, 7], "flow": 0, "info": [0, 1, 9], "scope": 0, "id": [0, 3, 14], "af_unix": 0, "path": [0, 5, 7], "unix": [0, 6, 7, 11], "avail": [0, 6, 10, 11], "behavior": [0, 3, 5, 10, 11, 14], "match": [0, 3, 7, 10, 11, 14], "modul": [0, 2, 6, 7, 11, 15], "descriptor": [0, 2], "fileno": 0, "properti": 0, "unset": [0, 11], "call": [0, 2, 3, 4, 5, 7, 9, 10, 14, 15], "unsetopt": [0, 3], "open_socket_cb_test": 0, "21": [0, 6, 7], "paramet": [0, 5, 7, 14], "flatten": 0, "expos": [0, 2, 3, 6, 7, 10, 16], "than": [0, 3, 6, 7, 10, 11, 15], "ad": [0, 3, 11], "curlfd": 0, "curlopt_closesocketfunct": [0, 11], "close": [0, 1, 2, 3, 4, 8, 10], "close_socket_cb_test": 0, "curlopt_sockoptfunct": [0, 11], "newli": [0, 7], "sockopt_cb_test": 0, "known_kei": 0, "found_kei": 0, "known": [0, 6], "logic": [0, 11], "curlopt_ssh_keyfunct": 0, "khkei": 0, "kei": [0, 3, 14, 15], "keytyp": 0, "struct": [0, 9], "curl_khkei": 0, "khstat_": 0, "ssh_key_cb_test": 0, "timeout_m": 0, "instal": [0, 10, 11, 12], "timer": [0, 14], "curlmopt_timerfunct": [0, 2], "arrang": [0, 3, 10], "non": [0, 15], "repeat": 0, "fire": 0, "millisecond": 0, "socket_act": [0, 2], "multi": [0, 2, 6, 7, 8, 10, 11, 13], "select": [0, 2], "program": [0, 3, 6, 7, 10, 13, 14], "what": [0, 4, 7, 9, 10, 14, 15], "sock_fd": [0, 2], "socketp": 0, "notifi": 0, "about": [0, 1, 3, 11], "activ": [0, 2, 13, 14], "curlmopt_socketfunct": [0, 2], "take": [0, 6, 10, 11, 13, 15], "first": [0, 2, 10, 14], "wherea": 0, "userp": 0, "privat": [0, 2, 3, 9], "pointer": [0, 5, 7], "describ": [0, 15], "curlmulti": [0, 6, 9, 11], "provid": [0, 2, 3, 6, 7, 9, 10, 11, 15], "assign": [0, 2], "interfac": [1, 11], "base_url": 1, "fakehead": 1, "answer": 1, "check": [1, 3, 8, 10, 12, 14], "did": [1, 3, 10, 11, 15], "given": [1, 2, 3, 5, 7, 11, 13, 15], "occur": 1, "last": [1, 10, 14, 15], "payload": 1, "bodi": [1, 3, 10, 11, 15], "from": [1, 2, 3, 5, 6, 10, 11, 13, 14, 15, 16], "respons": [1, 3, 6, 11, 14, 15], "session": [1, 3, 14], "free": [1, 6, 11], "resourc": [1, 6, 7], "get": [1, 3, 7, 10, 14], "param": 1, "ship": [1, 7, 11], "captur": 1, "get_info": 1, "retriev": [1, 3, 6, 11], "head": 1, "header": [1, 6, 7, 14], "dictionari": 1, "post": [1, 6, 7], "cgi": 1, "set_opt": 1, "set_timeout": 1, "timeout": [1, 2, 13, 14], "set_url": 1, "base": [1, 6, 11], "set_verbos": 1, "transact": 1, "new": [2, 3, 4, 9, 11, 12], "curlm": [2, 9], "handl": [2, 3, 4, 6, 7, 9, 11, 13], "curl_multi_cleanup": 2, "automat": [2, 3, 4, 9, 10, 11, 15], "longer": [2, 3, 4, 5, 7, 11], "ani": [2, 3, 4, 5, 7, 10, 12], "refer": [2, 3, 4, 11], "explicitli": [2, 3, 4], "add_handl": 2, "curl_multi_add_handl": 2, "add": [2, 11, 12], "exist": [2, 3, 7, 10, 13, 15], "valid": [2, 3, 7, 14], "43": [2, 3, 6, 14], "ensur": [2, 3, 12], "garbag": [2, 3], "collect": [2, 3, 11], "while": [2, 3, 6, 10, 11], "being": [2, 3, 6, 7, 11, 14, 15], "had": 2, "maintain": [2, 11], "outstand": 2, "keep": [2, 11, 14], "remove_handl": 2, "curl_multi_remove_handl": 2, "curl_multi_perform": 2, "ev_bitmask": 2, "result": [2, 3, 5, 6, 7, 15], "do": [2, 3, 6, 7, 8, 10, 13], "curl_multi_socket_act": 2, "two": [2, 3, 11], "element": [2, 3], "underli": [2, 5, 15], "curle_ok": [2, 14], "other": [2, 6, 7, 8, 10, 11], "would": [2, 3, 7, 15], "caus": [2, 6, 7, 11, 15], "run": [2, 5, 7, 11, 12], "easi": [2, 6, 10, 11], "within": 2, "reach": 2, "transfer": [2, 3, 6, 10, 11, 13], "complet": 2, "decreas": 2, "one": [2, 3, 4, 7, 9, 10, 11, 13, 14], "previou": [2, 11, 12], "invoc": 2, "mean": [2, 7, 13, 14, 15], "socket_al": 2, "curl_multi_setopt": 2, "constant": [2, 3, 4, 6, 9, 10, 11], "curlmopt_": [2, 11], "replac": [2, 11], "m_": 2, "exampl": [2, 3, 4, 6, 7, 9, 10, 11, 14, 15, 16], "curlmopt_pipelin": 2, "m_pipelin": 2, "conveni": [2, 3, 11, 15, 16], "m": [2, 7], "same": [2, 3, 7, 10, 11, 13, 15], "accept": [2, 3, 5, 7, 10, 11, 14, 15], "x": [2, 3, 6, 8, 10, 14], "boolean": [2, 3], "1l": [2, 3], "callback": [2, 3, 6, 7, 10, 11, 13, 15, 16], "AND": 2, "pleas": [2, 3, 6, 11], "suit": [2, 3, 11], "typeerror": [2, 3, 15], "respect": [2, 3, 5, 11, 16], "error": [2, 3, 4, 6, 9, 11, 15], "its": [2, 3, 7, 10, 11, 14, 16], "fdset": 2, "list": [2, 3, 6, 7, 10, 11, 12, 14], "readabl": 2, "writeabl": 2, "three": [2, 16], "curl_multi_fdset": 2, "extract": [2, 3], "poll": 2, "event": 2, "usag": [2, 3, 4, 7, 9], "ret": 2, "num_handl": 2, "e_call_multi_perform": 2, "break": [2, 10, 11], "appli": [2, 3, 7], "simplifi": 2, "combin": 2, "continu": [2, 7, 10], "info_read": 2, "max_object": 2, "queu": 2, "curl_multi_info_read": 2, "most": [2, 3, 6, 7, 10, 11, 14, 15], "max": [2, 14], "stack": [2, 6, 7], "them": [2, 3, 5, 10, 14, 15], "successfulli": 2, "decod": [2, 3, 10, 11, 15], "surrogateescap": 2, "handler": 2, "after": [2, 3, 11], "been": [2, 3, 4, 5, 6, 9, 11], "wait": 2, "action": 2, "befor": [2, 10], "proceed": 2, "curl_multi_timeout": 2, "between": 2, "curl_multi_assign": 2, "curlopt_verbos": [3, 9], "curlopt_noprogress": [3, 9], "curlopt_userag": [3, 9], "setup": [3, 7, 9, 10, 11, 12], "curlopt_errorbuff": [3, 9], "buffer": [3, 9, 10, 15], "implicitli": [3, 9], "global_init": [3, 6, 9], "latter": [3, 9, 10, 15], "yet": [3, 9], "end": 3, "curl_easy_cleanup": 3, "curl_easy_setopt": [3, 10], "curlopt_url": [3, 10], "detail": [3, 7, 11], "themselv": 3, "name": [3, 7, 10, 11, 13, 14], "convent": 3, "curlopt_filetim": 3, "map": [3, 14], "opt_filetim": 3, "curlopt_certinfo": 3, "opt_certinfo": 3, "curlopt_cookielist": 3, "cookielist": 3, "opt_cookielist": 3, "curlopt_rtsp_client_cseq": 3, "opt_rtsp_client_cseq": 3, "curlopt_rtsp_request": 3, "opt_rtsp_request": 3, "curlopt_rtsp_server_cseq": 3, "opt_rtsp_server_cseq": 3, "curlopt_rtsp_session_id": 3, "opt_rtsp_session_id": 3, "curlopt_rtsp_stream_uri": 3, "opt_rtsp_stream_uri": 3, "curlopt_rtsp_transport": 3, "opt_rtsp_transport": 3, "followloc": [3, 10], "And": [3, 6, 10], "u": [3, 14, 15], "b": [3, 5, 15], "http200alias": 3, "httpheader": 3, "postquot": 3, "prequot": 3, "proxyhead": 3, "quot": 3, "rule": [3, 11], "directli": [3, 5, 7, 8], "greater": 3, "effici": 3, "unless": 3, "compil": [3, 7, 11, 14], "avoid_stdio": 3, "emul": 3, "via": [3, 6, 7, 10, 14, 15], "readfunct": [3, 6, 16], "binari": [3, 5, 6, 7, 10, 11, 12, 15], "mode": [3, 5, 10, 14, 15], "f": [3, 5, 10, 15], "txt": [3, 10], "rb": 3, "writefunct": [3, 6, 10, 15, 16], "dev": [3, 7, 14, 15], "null": [3, 14, 15], "wb": [3, 10, 15], "document": [3, 7, 10, 11, 12, 13, 14, 15, 16], "stringio": [3, 6, 10, 11], "share": [3, 4, 6, 7, 8, 9], "curlshar": [3, 6, 9, 11], "It": [3, 7, 10, 11, 16], "possibl": [3, 6, 7, 11], "know": [3, 10, 11], "numer": [3, 6], "42": 3, "reset": 3, "job": [3, 10], "equival": [3, 16], "curl_easy_perform": 3, "upon": [3, 4], "perform_rb": [3, 11], "response_bodi": 3, "save": [3, 10, 15], "bytesio": [3, 6, 10, 11], "dure": 3, "just": [3, 6, 7], "perform_r": [3, 11], "both": [3, 10, 11, 15], "ident": [3, 6, 14], "encod": [3, 6, 10, 11], "happen": [3, 14], "finish": 3, "thu": [3, 7, 10, 14, 15], "network": [3, 6, 14, 15], "without": [3, 5, 10, 11], "getinfo": [3, 10], "time": [3, 6, 7, 10, 11, 13, 14], "curl_easy_getinfo": [3, 10], "curlinfo_": [3, 10], "curlinfo_content_typ": 3, "access": [3, 10, 13, 16], "content_typ": [3, 10], "curlinfo_filetim": 3, "info_filetim": 3, "curlinfo_cookielist": 3, "info_cookielist": 3, "curlinfo_certinfo": 3, "info_certinfo": 3, "curlinfo_rtsp_client_cseq": 3, "info_rtsp_client_cseq": 3, "curlinfo_rtsp_cseq_recv": 3, "info_rtsp_cseq_recv": 3, "curlinfo_rtsp_server_cseq": 3, "info_rtsp_server_cseq": 3, "curlinfo_rtsp_session_id": 3, "info_rtsp_session_id": 3, "whatev": [3, 15], "unicodedecodeerror": 3, "getinfo_raw": [3, 11], "case": [3, 5, 7, 10, 11, 14, 15, 16], "ssl_engin": 3, "caveat": [3, 10], "certif": [3, 6, 10, 14], "chain": 3, "start": [3, 6, 7, 14], "leaf": 3, "sequenc": [3, 8], "behav": [3, 15], "http_code": 3, "200": [3, 10, 14], "effective_url": 3, "certinfo": 3, "subject": [3, 11, 14], "au": 3, "st": 3, "state": [3, 8, 15], "cn": [3, 14], "localhost": 3, "issuer": [3, 14], "ou": [3, 14], "potenti": [3, 11], "preserv": 3, "live": 3, "cach": [3, 14], "dn": [3, 11, 14], "cooki": [3, 6, 10, 14], "curl_easy_reset": 3, "singl": [3, 7], "otherwis": 3, "paus": 3, "bitmask": 3, "unpaus": 3, "pause_recv": 3, "pause_cont": 3, "curl_easy_paus": 3, "deriv": [3, 10], "pause_send": 3, "pause_al": 3, "errstr": [3, 11], "intern": [3, 11, 13], "errstr_raw": [3, 11], "unlik": 3, "content": [3, 10, 14, 15], "setopt_str": [3, 11], "offici": [3, 6, 7, 11], "releas": [3, 6, 7], "warn": [3, 7], "No": 3, "fact": 3, "incorrectli": 3, "crash": [3, 7], "lead": [3, 7, 11], "secur": [3, 10, 14], "vulner": 3, "furthermor": 3, "copi": 3, "whose": 3, "curlopt_postfield": 3, "need": [3, 6, 7, 10, 11, 15], "liter": 3, "symbol": [3, 6, 14], "elsewher": 3, "10002": 3, "curlsh": [4, 9], "you": [4, 6, 7, 9, 11, 14, 15], "curl_share_cleanup": 4, "curl_share_setopt": 4, "curlshopt_": 4, "sh_": 4, "lock_data_cooki": 4, "lock_data_dn": 4, "lock_data_ssl_sess": 4, "lock_data_connect": 4, "sh_share": 4, "curlopt_readdata": [5, 7], "curlopt_writedata": [5, 7], "curlopt_writehead": [5, 7], "librari": [5, 7, 11, 13, 15], "implement": [5, 11, 14, 15, 16], "abov": [5, 6, 7, 10, 14], "As": [5, 6, 7, 10, 16], "old": [5, 14], "remain": [5, 11], "convert": 5, "text": [5, 10, 14, 15], "flag": [5, 14], "similarli": [5, 6], "multiprotocol": 6, "urllib": [6, 10], "fetch": 6, "identifi": [6, 7, 14], "beyond": 6, "simpl": 6, "howev": [6, 7], "includ": [6, 7, 10, 11, 12, 14, 15], "speed": 6, "veri": [6, 10], "fast": 6, "thin": [6, 14, 15], "wrapper": [6, 14, 15], "well": [6, 7, 11], "benchmark": 6, "sever": [6, 7, 11], "faster": 6, "featur": [6, 7], "multipl": [6, 7, 10, 11, 13], "ssl": [6, 10, 11, 13, 14, 16], "authent": 6, "proxi": 6, "permit": [6, 7, 11], "integr": 6, "loop": 6, "g": [6, 7, 10, 15], "tornado": 6, "anoth": [6, 7, 11], "popular": 6, "frequent": 6, "advantag": [6, 10], "larger": 6, "reus": 6, "make": [6, 7, 11, 12], "multiplex": 6, "mani": [6, 10, 11], "abil": [6, 11], "tl": [6, 10, 11], "backend": [6, 11, 14], "etc": [6, 14], "pure": 6, "trivial": 6, "complex": 6, "though": 6, "system": [6, 7, 10, 11, 13], "packag": [6, 10, 11, 12, 15], "negat": 6, "drawback": 6, "api": [6, 11], "easier": 6, "learn": 6, "client": [6, 16], "side": 6, "dict": [6, 9], "ftp": [6, 9, 11], "gopher": [6, 9], "imap": [6, 9], "ldap": 6, "pop3": [6, 9], "rtmp": 6, "rtsp": [6, 9], "scp": 6, "sftp": 6, "smtp": [6, 9], "telnet": [6, 9], "tftp": [6, 9], "put": 6, "upload": [6, 12], "form": 6, "user": [6, 7, 8, 14], "password": 6, "basic": 6, "digest": [6, 14], "ntlm": 6, "negoti": 6, "kerberos4": 6, "resum": 6, "tunnel": 6, "highli": 6, "portabl": 6, "build": [6, 11, 12], "work": [6, 7, 13, 15], "platform": 6, "solari": 6, "netbsd": 6, "freebsd": 6, "openbsd": 6, "darwin": 6, "hpux": 6, "irix": 6, "aix": 6, "tru64": 6, "linux": [6, 11, 15], "unixwar": 6, "hurd": 6, "window": [6, 11, 12], "amiga": 6, "beo": 6, "mac": 6, "ultrix": 6, "qnx": 6, "openvm": 6, "risc": 6, "novel": 6, "netwar": 6, "thread": [6, 7, 11], "safe": [6, 13], "ipv6": [6, 7], "compat": [6, 7, 11, 15], "thoroughli": 6, "alreadi": [6, 7, 10], "big": 6, "compani": 6, "better": 6, "easiest": [6, 7], "your": [6, 7, 10, 14, 15], "manag": 6, "easy_instal": 6, "pip": 6, "sourc": [6, 11, 12, 14], "third": [6, 7], "parti": [6, 7], "question": [6, 13, 14, 15], "mail": [6, 7, 12], "archiv": 6, "perus": 6, "although": [6, 7, 15], "venu": 6, "overflow": [6, 7], "bug": [6, 11], "report": [6, 7, 14], "github": [6, 12], "issu": [6, 7, 10, 11], "certain": 6, "found": [6, 7, 14], "patch": [6, 7, 10, 11, 15], "fix": [6, 7, 11], "least": 6, "fragment": 6, "believ": [6, 14], "inquiri": 6, "45": 6, "2022": 6, "12": [6, 9, 14, 15], "16": [6, 14], "03": 6, "13": 6, "09": 6, "44": 6, "2021": 6, "08": 6, "15": 6, "6": 6, "2020": 6, "02": 6, "01": 6, "29": 6, "2019": 6, "06": 6, "17": [6, 14], "2018": [6, 14], "2017": [6, 14], "07": [6, 14], "2016": 6, "05": 6, "2015": [6, 7], "11": [6, 7], "2014": 6, "distutil": 6, "git": [6, 12], "checkout": 6, "regard": 6, "bundl": [6, 10], "quick": 6, "With": 6, "troubleshoot": 6, "examin": 6, "redirect": 6, "send": 6, "multipart": 6, "global_cleanup": [6, 9], "version_info": [6, 9], "headerfunct": [6, 10, 16], "seekfunct": 6, "ioctlfunct": 6, "debugfunct": [6, 11], "progressfunct": 6, "xferinfofunct": 6, "opensocketfunct": [6, 11], "closesocketfunct": [6, 11], "sockoptfunct": [6, 11], "ssh_keyfunct": 6, "timerfunct": 6, "socketfunct": 6, "high": 6, "level": 6, "figur": [6, 7, 10], "correct": [6, 7], "legaci": [6, 7], "safeti": [6, 11], "unimpl": 6, "curlinfo_tls_sess": 6, "undocu": 6, "index": 6, "search": [6, 10], "page": [6, 10, 12], "rpm": 7, "everyth": 7, "necessari": [7, 10, 12, 13], "develop": 7, "usual": [7, 14], "command": [7, 10, 14], "becom": [7, 10], "root": 7, "tar": 7, "zxvf": 7, "ver": 7, "gz": 7, "cd": 7, "substitut": 7, "10": [7, 11], "script": [7, 12], "assum": [7, 10], "config": 7, "locat": [7, 10], "outsid": [7, 13], "want": [7, 10], "forc": 7, "particular": [7, 15], "line": [7, 10, 14, 15], "usr": 7, "local": 7, "bin": 7, "link": [7, 11], "dynam": 7, "alter": 7, "ld_library_path": 7, "environ": [7, 9], "variabl": 7, "accordingli": 7, "normal": [7, 15], "lib": 7, "requir": [7, 10, 11, 15], "built": [7, 11, 12], "against": [7, 10, 11], "therefor": [7, 10, 11], "unabl": 7, "determin": 7, "similar": [7, 9, 15], "src": 7, "137": 7, "configur": 7, "could": 7, "crypto": 7, "lock": [7, 13], "wcpp": 7, "importerror": [7, 10, 11, 15], "openssl": [7, 9, 11, 13], "To": [7, 11], "tell": 7, "gnutl": [7, 13, 14], "nss": [7, 13], "mbedtl": [7, 11, 13], "wolfssl": [7, 11, 13], "sectransp": 7, "libressl": [7, 13], "boringssl": [7, 11, 13], "alia": 7, "backward": [7, 11], "ask": 7, "obtain": [7, 15], "dll": [7, 11], "so": [7, 10, 11], "unqualifi": 7, "full": [7, 16], "done": [7, 15], "export": [7, 11], "pycurl_curl_config": 7, "pycurl_ssl_librari": 7, "reinstal": 7, "recompil": 7, "upgrad": [7, 14], "uninstal": 7, "faint": 7, "heart": 7, "due": 7, "multitud": 7, "own": [7, 14], "directori": 7, "structur": [7, 14], "style": 7, "quirk": 7, "addition": 7, "msvcrt": 7, "part": [7, 10], "agre": 7, "decid": 7, "advis": 7, "look": [7, 14], "through": [7, 11], "wealth": 7, "recommend": 7, "precompil": 7, "mix": 7, "good": [7, 14], "static": [7, 11], "minimum": 7, "instruct": [7, 10], "dir": 7, "33": [7, 9], "vc": 7, "x86": 7, "sspi": 7, "spnego": 7, "winssl": [7, 11], "exact": 7, "avoid": [7, 10, 15], "stdio": 7, "libcurl_imp": 7, "sometim": 7, "choic": 7, "crypto_num_lock": 7, "empti": 7, "here": [7, 10, 15], "process": [7, 11], "prevent": 7, "direct": 7, "carri": 7, "penalti": 7, "recogn": 7, "noth": 7, "give": 7, "pycurl_setup_opt": 7, "target": [7, 10], "bdist_wininst": 7, "produc": [7, 11, 15], "execut": [7, 13, 14], "find": [7, 16], "help": [7, 10, 14], "curlpython": 7, "2009": 7, "0010": 7, "html": [7, 10, 14], "2013": 7, "0002": 7, "complement": 7, "modifi": 7, "prerequisit": 7, "visual": 7, "9": [7, 9, 11, 15], "2008": 7, "2010": 7, "14": 7, "8": [7, 10, 11, 14, 15], "express": 7, "studio": 7, "64": [7, 11], "bit": 7, "wok": 7, "involv": [7, 10, 13], "jump": 7, "hoop": 7, "nasm": 7, "activeperl": 7, "perl": 7, "forward": 7, "backslash": 7, "incompat": [7, 11], "edit": 7, "itself": 7, "msvc": 7, "md": 7, "et": 7, "al": 7, "load": 7, "procedur": 7, "profil": 7, "walker": 7, "variant": 7, "entir": 7, "order": [7, 10], "gen": [7, 12], "might": 7, "handi": 7, "rememb": [7, 15], "whenev": 7, "doc": [7, 11, 12], "sphinx": [7, 11], "vari": [7, 14], "problem": [7, 15], "speak": [7, 15], "best": [7, 11], "softwar": [7, 14], "experi": 7, "especi": 7, "rebuild": 7, "verifi": [7, 14], "server": [7, 10, 14, 15], "ca": [7, 14], "certifi": [7, 10], "com": [7, 14], "prebuilt": 7, "cainfo": [7, 10], "capath": 7, "cleanup": [8, 9], "do_x_clos": 8, "util_x_clos": 8, "del": 8, "do_x_dealloc": 8, "do_": 8, "util_": 8, "initi": [9, 11], "global_ssl": 9, "global_win32": 9, "global_al": 9, "global_noth": 9, "global_default": 9, "curl_global_init": 9, "curl_global_cleanup": 9, "curl_vers": 9, "8x": 9, "zlib": [9, 11, 14], "curl_version_info": 9, "curl_version_info_data": 9, "467200": 9, "amd64": 9, "portbld": 9, "freebsd9": 9, "33436": 9, "onc": [10, 11], "we": 10, "simplest": 10, "step": [10, 14], "getvalu": [10, 15], "standard": [10, 13, 15], "output": [10, 14], "iso": [10, 15], "8859": [10, 15], "quickstart": [10, 11], "get_python3": 10, "get_python2": 10, "storag": 10, "idiom": [10, 15], "unnecessari": [10, 16], "web": [10, 12], "site": [10, 12], "todai": 10, "over": [10, 11, 15], "util": [10, 14], "suppli": 10, "consid": 10, "get_python3_http": 10, "get_python2_http": 10, "thing": 10, "don": 10, "t": [10, 15], "lot": 10, "debug": [10, 14], "pertain": 10, "often": [10, 15], "tool": 10, "v": 10, "realiti": 10, "re": [10, 14], "header_funct": 10, "header_lin": 10, "skip": [10, 14], "go": 10, "ignor": 10, "colon": 10, "botch": 10, "split": 10, "whitespac": 10, "present": [10, 16], "trail": 10, "newlin": 10, "around": [10, 14, 15], "strip": 10, "insensit": 10, "lowercas": 10, "lower": 10, "actual": [10, 15], "record": [10, 12], "duplic": [10, 11], "our": 10, "sent": [10, 14], "charset": [10, 14], "group": 10, "response_head": 10, "That": 10, "someth": [10, 14], "straightforward": 10, "unfortun": [10, 11, 15], "refrain": 10, "alloc": 10, "memori": [10, 11, 15], "grunt": 10, "One": 10, "isinst": 10, "append": 10, "suppos": 10, "write_fil": 10, "bytewis": 10, "By": [10, 13, 14], "follow_redirect": 10, "effect": 10, "few": 10, "simpli": 10, "cover": 10, "response_cod": 10, "elaps": 10, "total_tim": 10, "response_info": 10, "uninterest": 10, "curlinfo_response_cod": 10, "postfield": [10, 15], "beforehand": 10, "pars": 10, "urlencod": 10, "httpbin": 10, "post_data": 10, "form_post": 10, "customrequest": 10, "replic": 10, "httppost": 10, "Such": [10, 15], "next": [10, 14], "physic": 10, "form_fil": 10, "fileupload": 10, "__file__": 10, "file_upload_r": 10, "tweak": 10, "submiss": 10, "curl_formadd": 10, "filenam": 10, "form_filenam": 10, "helloworld": 10, "form_contenttyp": 10, "file_upload_real_f": 10, "bufferptr": 10, "form_buff": 10, "readm": [10, 11], "form_bufferptr": 10, "fanci": 10, "file_upload_buff": 10, "json": 10, "kept": 10, "put_fil": 10, "utf": [10, 14, 15], "put_buff": 10, "minor": 11, "securetransport": 11, "maco": 11, "subclass": 11, "repair": 11, "incorrect": [11, 14], "hang": [11, 14], "reinstat": 11, "effort": 11, "alpha": 11, "improv": [11, 14], "detect": 11, "recent": [11, 14, 15], "cento": 11, "rhel": 11, "bring": 11, "back": 11, "special": [11, 13], "thank": 11, "gisl": 11, "vanem": 11, "contribut": 11, "nghttp2": [11, 14], "makefil": 11, "primarili": 11, "newer": 11, "josef": 11, "schlehof": 11, "highlight": 11, "experiment": 11, "goal": 11, "usabl": 11, "typic": 11, "up": [11, 12, 15], "undecod": 11, "domain": [11, 14], "smaller": 11, "made": 11, "past": 11, "year": [11, 12], "notabl": 11, "updat": [11, 12], "resolut": [11, 14], "wheel": [11, 12], "again": 11, "fulli": 11, "manner": 11, "fatal": 11, "termin": 11, "greatli": 11, "elimin": 11, "conflict": 11, "libssh2": [11, 14], "manifest": [11, 12], "inabl": 11, "sdist": [11, 12], "tarbal": 11, "kamil": 11, "dudka": 11, "move": 11, "leak": 11, "breakag": 11, "significantli": 11, "reorgan": 11, "properli": [11, 13], "factori": 11, "transit": 11, "docstr": 11, "standalon": 11, "consult": 11, "sampl": 11, "restor": 11, "circumst": 11, "andjelko": 11, "horvat": 11, "gnu": [11, 14, 15], "incomplet": 11, "place": 11, "later": 11, "unoffici": [11, 15], "summar": 11, "under": [11, 15], "codepoint": 11, "further": 11, "interest": 11, "constraint": 11, "sensibl": 11, "retain": 11, "treat": 11, "disrupt": 11, "changelog": 12, "date": [12, 14], "commit": 12, "master": 12, "author": 12, "review": 12, "shortlog": 12, "rel_": 12, "contributor": 12, "miss": 12, "get_data_fil": 12, "sure": 12, "travi": 12, "appveyor": 12, "green": 12, "conf": 12, "winbuild": 12, "copyright": 12, "draft": 12, "rst": 12, "manual": [12, 15], "download": 12, "repo": 12, "tag": 12, "pypi": 12, "twine": 12, "ex": 12, "bintrai": 12, "push": 12, "home": 12, "announc": 12, "synchron": 13, "ok": [13, 14, 15], "global": 13, "interpret": 13, "insid": 13, "unsaf": 13, "situat": [13, 14], "resolv": 13, "nor": 13, "signal": 13, "nosign": 13, "piec": 14, "misbehavior": 14, "wide": 14, "varieti": 14, "carefulli": 14, "format": 14, "until": 14, "hand": 14, "h": 14, "curle_unsupported_protocol": 14, "reason": 14, "w": [14, 15], "hostnam": 14, "151": 14, "101": 14, "208": 14, "223": 14, "tcp_nodelai": 14, "443": 14, "173": 14, "cert": 14, "crt": 14, "696": 14, "alpn": 14, "offer": 14, "tls1": 14, "ecdhe_rsa_aes_128_gcm_sha256": 14, "verif": 14, "common": 14, "expir": 14, "public": 14, "rsa": 14, "sat": 14, "jun": 14, "00": 14, "gmt": 14, "27": 14, "sep": 14, "digicert": 14, "inc": 14, "sha2": 14, "extend": 14, "compress": 14, "agent": 14, "52": 14, "libidn2": 14, "libpsl": 14, "18": 14, "librtmp": 14, "nginx": 14, "frame": 14, "sameorigin": 14, "xss": 14, "protect": 14, "block": 14, "clack": 14, "overhead": 14, "terri": 14, "pratchett": 14, "varnish": 14, "fastli": 14, "a63ab819df3b185a89db37a59e39f0dd85cf8ee71f54bbb42fae41670ae56fd2": 14, "length": [14, 15], "48893": 14, "rang": [14, 15], "dec": 14, "28": 14, "ag": 14, "2497": 14, "aliv": 14, "serv": 14, "iad2146": 14, "iad": 14, "ewr18146": 14, "ewr": 14, "hit": 14, "s1512631712": 14, "274059": 14, "vs0": 14, "ve0": 14, "strict": 14, "transport": 14, "63072000": 14, "includesubdomain": 14, "curl_http_don": 14, "prematur": 14, "left": 14, "intact": 14, "latest": 14, "awar": 15, "stream": 15, "leav": 15, "transpar": 15, "why": 15, "doesn": 15, "sai": 15, "20": 15, "knowledg": 15, "track": 15, "price": 15, "flexibl": 15, "hold": 15, "arbitrari": 15, "verbatim": 15, "userag": 15, "foo": [15, 16], "xa9": 15, "traceback": 15, "stdin": 15, "unicodeencodeerror": 15, "codec": 15, "posit": 15, "ordin": 15, "128": 15, "corrupt": 15, "tmp": 15, "23": 15, "168": 15, "got": 15, "string_bodi": 15, "still": 15, "iec": 15, "accord": 15, "fashion": 15, "caution": 15, "tandem": 15, "curlopt_postfields": 15, "care": 15, "wrong": 15, "let": 15, "last_valu": 15, "complic": 15, "along": 15, "prior": 15, "invalid": 15, "correctli": 15, "footnot": 15, "latin": 15, "sourceforg": 15, "net": 15, "p": 15, "intention": 16, "explain": 16, "omit": 16, "adata": 16, "languag": 16, "closur": 16, "writer": 16, "__init__": 16, "self": 16, "chunk": 16, "headerdata": 16, "pair": 16, "reader": 16, "unclear": 16, "thusli": 16, "curlpause_recv_cont": 16, "curlpause_send_cont": 16}, "objects": {"": [[0, 0, 1, "", "CLOSESOCKETFUNCTION"], [0, 0, 1, "", "DEBUGFUNCTION"], [0, 0, 1, "", "HEADERFUNCTION"], [0, 0, 1, "", "IOCTLFUNCTION"], [0, 0, 1, "", "OPENSOCKETFUNCTION"], [0, 0, 1, "", "PROGRESSFUNCTION"], [0, 0, 1, "", "READFUNCTION"], [0, 0, 1, "", "SEEKFUNCTION"], [0, 0, 1, "", "SOCKETFUNCTION"], [0, 0, 1, "", "SOCKOPTFUNCTION"], [0, 0, 1, "", "SSH_KEYFUNCTION"], [0, 0, 1, "", "TIMERFUNCTION"], [0, 0, 1, "", "WRITEFUNCTION"], [0, 0, 1, "", "XFERINFOFUNCTION"], [1, 1, 0, "-", "curl"], [9, 1, 0, "-", "pycurl"]], "curl": [[1, 2, 1, "", "Curl"]], "curl.Curl": [[1, 3, 1, "", "answered"], [1, 3, 1, "", "body"], [1, 3, 1, "", "close"], [1, 3, 1, "", "get"], [1, 3, 1, "", "get_info"], [1, 3, 1, "", "head"], [1, 3, 1, "", "header"], [1, 3, 1, "", "info"], [1, 3, 1, "", "post"], [1, 3, 1, "", "set_option"], [1, 3, 1, "", "set_timeout"], [1, 3, 1, "", "set_url"], [1, 3, 1, "", "set_verbosity"]], "pycurl": [[3, 2, 1, "", "Curl"], [2, 2, 1, "", "CurlMulti"], [4, 2, 1, "", "CurlShare"], [9, 0, 1, "", "global_cleanup"], [9, 0, 1, "", "global_init"], [9, 4, 1, "", "version"], [9, 0, 1, "", "version_info"]], "pycurl.Curl": [[3, 3, 1, "", "close"], [3, 3, 1, "", "errstr"], [3, 3, 1, "", "errstr_raw"], [3, 3, 1, "", "getinfo"], [3, 3, 1, "", "getinfo_raw"], [3, 3, 1, "", "pause"], [3, 3, 1, "", "perform"], [3, 3, 1, "", "perform_rb"], [3, 3, 1, "", "perform_rs"], [3, 3, 1, "", "reset"], [3, 3, 1, "", "setopt"], [3, 3, 1, "", "setopt_string"], [3, 3, 1, "", "unsetopt"]], "pycurl.CurlMulti": [[2, 3, 1, "", "add_handle"], [2, 3, 1, "", "assign"], [2, 3, 1, "", "close"], [2, 3, 1, "", "fdset"], [2, 3, 1, "", "info_read"], [2, 3, 1, "", "perform"], [2, 3, 1, "", "remove_handle"], [2, 3, 1, "", "select"], [2, 3, 1, "", "setopt"], [2, 3, 1, "", "socket_action"], [2, 3, 1, "", "socket_all"], [2, 3, 1, "", "timeout"]], "pycurl.CurlShare": [[4, 3, 1, "", "close"], [4, 3, 1, "", "setopt"]]}, "objtypes": {"0": "py:function", "1": "py:module", "2": "py:class", "3": "py:method", "4": "py:data"}, "objnames": {"0": ["py", "function", "Python function"], "1": ["py", "module", "Python module"], "2": ["py", "class", "Python class"], "3": ["py", "method", "Python method"], "4": ["py", "data", "Python data"]}, "titleterms": {"callback": 0, "error": [0, 14], "report": 0, "writefunct": 0, "exampl": 0, "document": [0, 6], "header": [0, 10, 15], "bodi": 0, "headerfunct": 0, "readfunct": 0, "seekfunct": 0, "ioctlfunct": 0, "debugfunct": 0, "debug": 0, "progressfunct": 0, "xferinfofunct": 0, "download": 0, "upload": [0, 10], "progress": 0, "opensocketfunct": 0, "closesocketfunct": 0, "sockoptfunct": 0, "ssh_keyfunct": 0, "timerfunct": 0, "socketfunct": 0, "curl": [1, 3, 6], "modul": [1, 9], "function": [1, 9, 15], "high": 1, "level": 1, "object": [1, 2, 3, 4], "curlmulti": 2, "curlshar": 4, "file": [5, 10, 15], "handl": [5, 15], "pycurl": [6, 7, 9, 10, 11, 14, 15], "A": [6, 7, 10], "python": [6, 7, 15], "interfac": 6, "To": [6, 10, 15], "The": 6, "librari": 6, "v": 6, "request": 6, "about": 6, "libcurl": 6, "requir": 6, "instal": [6, 7], "support": 6, "content": 6, "indic": 6, "tabl": 6, "distutil": 7, "ssl": 7, "easy_instal": 7, "pip": 7, "cach": 7, "packag": 7, "window": 7, "build": 7, "from": 7, "sourc": 7, "winbuild": 7, "py": 7, "us": 7, "With": [7, 10], "custom": 7, "git": 7, "checkout": 7, "note": [7, 11], "regard": 7, "backend": 7, "certif": 7, "bundl": 7, "intern": 8, "quick": 10, "start": 10, "retriev": 10, "network": 10, "resourc": 10, "work": 10, "http": 10, "troubleshoot": [10, 14], "examin": 10, "respons": 10, "write": [10, 15], "follow": 10, "redirect": 10, "set": [10, 15], "option": [10, 15, 16], "send": 10, "form": 10, "data": [10, 16], "multipart": 10, "post": 10, "put": 10, "releas": [11, 12], "7": 11, "45": 11, "2": [11, 15], "2022": 11, "12": 11, "16": 11, "1": [11, 14], "03": 11, "13": 11, "0": 11, "09": 11, "44": 11, "2021": 11, "08": 11, "15": 11, "43": 11, "6": 11, "2020": 11, "02": 11, "5": 11, "01": 11, "29": 11, "4": 11, "3": [11, 15], "2019": 11, "06": 11, "17": 11, "2018": 11, "2017": 11, "07": 11, "2016": 11, "21": 11, "05": 11, "19": 11, "2015": 11, "11": 11, "2014": 11, "process": 12, "thread": 13, "safeti": 13, "setopt": 14, "relat": 14, "issu": 14, "typeerror": 14, "invalid": 14, "argument": 14, "transfer": 14, "string": 15, "And": [15, 16], "unicod": 15, "x": 15, "stringio": 15, "bytesio": 15, "read": 15, "how": 15, "figur": 15, "out": 15, "correct": 15, "encod": 15, "legaci": 15, "version": 15, "unimpl": 16, "constant": 16, "curlinfo_tls_sess": 16, "undocu": 16, "symbol": 16}, "envversion": {"sphinx.domains.c": 2, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 8, "sphinx.domains.index": 1, "sphinx.domains.javascript": 2, "sphinx.domains.math": 2, "sphinx.domains.python": 3, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx": 57}, "alltitles": {"Callbacks": [[0, "callbacks"]], "Error Reporting": [[0, "error-reporting"]], "WRITEFUNCTION": [[0, "writefunction"]], "Example: Callbacks for document header and body": [[0, "example-callbacks-for-document-header-and-body"]], "HEADERFUNCTION": [[0, "headerfunction"]], "READFUNCTION": [[0, "readfunction"]], "SEEKFUNCTION": [[0, "seekfunction"]], "IOCTLFUNCTION": [[0, "ioctlfunction"]], "DEBUGFUNCTION": [[0, "debugfunction"]], "Example: Debug callbacks": [[0, "example-debug-callbacks"]], "PROGRESSFUNCTION": [[0, "progressfunction"]], "XFERINFOFUNCTION": [[0, "xferinfofunction"]], "Example: Download/upload progress callback": [[0, "example-download-upload-progress-callback"]], "OPENSOCKETFUNCTION": [[0, "opensocketfunction"]], "CLOSESOCKETFUNCTION": [[0, "closesocketfunction"]], "SOCKOPTFUNCTION": [[0, "sockoptfunction"]], "SSH_KEYFUNCTION": [[0, "ssh-keyfunction"]], "TIMERFUNCTION": [[0, "timerfunction"]], "SOCKETFUNCTION": [[0, "socketfunction"]], "curl Module Functionality": [[1, "module-curl"]], "High Level Curl Object": [[1, "high-level-curl-object"]], "CurlMulti Object": [[2, "curlmulti-object"]], "Curl Object": [[3, "curl-object"]], "CurlShare Object": [[4, "curlshare-object"]], "File Handling": [[5, "file-handling"]], "PycURL \u2013 A Python Interface To The cURL library": [[6, "pycurl-a-python-interface-to-the-curl-library"]], "PycURL vs Requests": [[6, "pycurl-vs-requests"]], "About libcurl": [[6, "about-libcurl"]], "Requirements": [[6, "requirements"]], "Installation": [[6, "installation"]], "Support": [[6, "support"]], "Documentation Contents": [[6, "documentation-contents"]], "Indices and tables": [[6, "indices-and-tables"]], "PycURL Installation": [[7, "pycurl-installation"]], "Distutils": [[7, "distutils"]], "SSL": [[7, "ssl"]], "easy_install / pip": [[7, "easy-install-pip"]], "pip and cached pycurl package": [[7, "pip-and-cached-pycurl-package"]], "Windows": [[7, "windows"]], "Building From Source": [[7, "building-from-source"]], "winbuild.py": [[7, "winbuild-py"]], "Using PycURL With Custom Python Builds": [[7, "using-pycurl-with-custom-python-builds"]], "Git Checkout": [[7, "git-checkout"]], "A Note Regarding SSL Backends": [[7, "a-note-regarding-ssl-backends"]], "SSL Certificate Bundle": [[7, "ssl-certificate-bundle"]], "Internals": [[8, "internals"]], "pycurl Module Functionality": [[9, "module-pycurl"]], "PycURL Quick Start": [[10, "pycurl-quick-start"]], "Retrieving A Network Resource": [[10, "retrieving-a-network-resource"]], "Working With HTTPS": [[10, "working-with-https"]], "Troubleshooting": [[10, "troubleshooting"], [14, "troubleshooting"]], "Examining Response Headers": [[10, "examining-response-headers"]], "Writing To A File": [[10, "writing-to-a-file"]], "Following Redirects": [[10, "following-redirects"]], "Setting Options": [[10, "setting-options"]], "Examining Response": [[10, "examining-response"]], "Sending Form Data": [[10, "sending-form-data"]], "File Upload - Multipart POST": [[10, "file-upload-multipart-post"]], "File Upload - PUT": [[10, "file-upload-put"]], "Release Notes": [[11, "release-notes"]], "PycURL 7.45.2 - 2022-12-16": [[11, "pycurl-7-45-2-2022-12-16"]], "PycURL 7.45.1 - 2022-03-13": [[11, "pycurl-7-45-1-2022-03-13"]], "PycURL 7.45.0 - 2022-03-09": [[11, "pycurl-7-45-0-2022-03-09"]], "PycURL 7.44.1 - 2021-08-15": [[11, "pycurl-7-44-1-2021-08-15"]], "PycURL 7.44.0 - 2021-08-08": [[11, "pycurl-7-44-0-2021-08-08"]], "PycURL 7.43.0.6 - 2020-09-02": [[11, "pycurl-7-43-0-6-2020-09-02"]], "PycURL 7.43.0.5 - 2020-01-29": [[11, "pycurl-7-43-0-5-2020-01-29"]], "PycURL 7.43.0.4 - 2020-01-15": [[11, "pycurl-7-43-0-4-2020-01-15"]], "PycURL 7.43.0.3 - 2019-06-17": [[11, "pycurl-7-43-0-3-2019-06-17"]], "PycURL 7.43.0.2 - 2018-06-02": [[11, "pycurl-7-43-0-2-2018-06-02"]], "PycURL 7.43.0.1 - 2017-12-07": [[11, "pycurl-7-43-0-1-2017-12-07"]], "PycURL 7.43.0 - 2016-02-02": [[11, "pycurl-7-43-0-2016-02-02"]], "PycURL 7.21.5 - 2016-01-05": [[11, "pycurl-7-21-5-2016-01-05"]], "PycURL 7.19.5.3 - 2015-11-03": [[11, "pycurl-7-19-5-3-2015-11-03"]], "PycURL 7.19.5.2 - 2015-11-02": [[11, "pycurl-7-19-5-2-2015-11-02"]], "PycURL 7.19.5.1 - 2015-01-06": [[11, "pycurl-7-19-5-1-2015-01-06"]], "PycURL 7.19.5 - 2014-07-12": [[11, "pycurl-7-19-5-2014-07-12"]], "PycURL 7.19.3.1 - 2014-02-05": [[11, "pycurl-7-19-3-1-2014-02-05"]], "PycURL 7.19.3 - 2014-01-09": [[11, "pycurl-7-19-3-2014-01-09"]], "Release Process": [[12, "release-process"]], "Thread Safety": [[13, "thread-safety"]], "setopt-Related Issues": [[14, "setopt-related-issues"]], "TypeError: invalid arguments to setopt": [[14, "typeerror-invalid-arguments-to-setopt"]], "pycurl.error: (1, '')": [[14, "pycurl-error-1"]], "Transfer-Related Issues": [[14, "transfer-related-issues"]], "String And Unicode Handling": [[15, "string-and-unicode-handling"]], "Setting Options - Python 2.x": [[15, "setting-options-python-2-x"]], "Setting Options - Python 3.x": [[15, "setting-options-python-3-x"]], "Writing To Files": [[15, "writing-to-files"]], "Writing To StringIO/BytesIO": [[15, "writing-to-stringio-bytesio"]], "Header Functions": [[15, "header-functions"]], "Read Functions": [[15, "read-functions"]], "How PycURL Handles Unicode Strings": [[15, "how-pycurl-handles-unicode-strings"]], "Figuring Out Correct Encoding": [[15, "figuring-out-correct-encoding"]], "Legacy PycURL Versions": [[15, "legacy-pycurl-versions"]], "Unimplemented Options And Constants": [[16, "unimplemented-options-and-constants"]], "*DATA options": [[16, "data-options"]], "CURLINFO_TLS_SESSION": [[16, "curlinfo-tls-session"]], "Undocumented symbols": [[16, "undocumented-symbols"]]}, "indexentries": {"closesocketfunction()": [[0, "CLOSESOCKETFUNCTION"]], "debugfunction()": [[0, "DEBUGFUNCTION"]], "headerfunction()": [[0, "HEADERFUNCTION"]], "ioctlfunction()": [[0, "IOCTLFUNCTION"]], "opensocketfunction()": [[0, "OPENSOCKETFUNCTION"]], "progressfunction()": [[0, "PROGRESSFUNCTION"]], "readfunction()": [[0, "READFUNCTION"]], "seekfunction()": [[0, "SEEKFUNCTION"]], "socketfunction()": [[0, "SOCKETFUNCTION"]], "sockoptfunction()": [[0, "SOCKOPTFUNCTION"]], "ssh_keyfunction()": [[0, "SSH_KEYFUNCTION"]], "timerfunction()": [[0, "TIMERFUNCTION"]], "writefunction()": [[0, "WRITEFUNCTION"]], "xferinfofunction()": [[0, "XFERINFOFUNCTION"]], "built-in function": [[0, "CLOSESOCKETFUNCTION"], [0, "DEBUGFUNCTION"], [0, "HEADERFUNCTION"], [0, "IOCTLFUNCTION"], [0, "OPENSOCKETFUNCTION"], [0, "PROGRESSFUNCTION"], [0, "READFUNCTION"], [0, "SEEKFUNCTION"], [0, "SOCKETFUNCTION"], [0, "SOCKOPTFUNCTION"], [0, "SSH_KEYFUNCTION"], [0, "TIMERFUNCTION"], [0, "WRITEFUNCTION"], [0, "XFERINFOFUNCTION"]], "curl (class in curl)": [[1, "curl.Curl"]], "answered() (curl.curl method)": [[1, "curl.Curl.answered"]], "body() (curl.curl method)": [[1, "curl.Curl.body"]], "close() (curl.curl method)": [[1, "curl.Curl.close"]], "curl": [[1, "module-curl"]], "get() (curl.curl method)": [[1, "curl.Curl.get"]], "get_info() (curl.curl method)": [[1, "curl.Curl.get_info"]], "head() (curl.curl method)": [[1, "curl.Curl.head"]], "header() (curl.curl method)": [[1, "curl.Curl.header"]], "info() (curl.curl method)": [[1, "curl.Curl.info"]], "module": [[1, "module-curl"], [9, "module-pycurl"]], "post() (curl.curl method)": [[1, "curl.Curl.post"]], "set_option() (curl.curl method)": [[1, "curl.Curl.set_option"]], "set_timeout() (curl.curl method)": [[1, "curl.Curl.set_timeout"]], "set_url() (curl.curl method)": [[1, "curl.Curl.set_url"]], "set_verbosity() (curl.curl method)": [[1, "curl.Curl.set_verbosity"]], "curlmulti (class in pycurl)": [[2, "pycurl.CurlMulti"]], "add_handle() (pycurl.curlmulti method)": [[2, "pycurl.CurlMulti.add_handle"]], "assign() (pycurl.curlmulti method)": [[2, "pycurl.CurlMulti.assign"]], "close() (pycurl.curlmulti method)": [[2, "pycurl.CurlMulti.close"]], "fdset() (pycurl.curlmulti method)": [[2, "pycurl.CurlMulti.fdset"]], "info_read() (pycurl.curlmulti method)": [[2, "pycurl.CurlMulti.info_read"]], "perform() (pycurl.curlmulti method)": [[2, "pycurl.CurlMulti.perform"]], "remove_handle() (pycurl.curlmulti method)": [[2, "pycurl.CurlMulti.remove_handle"]], "select() (pycurl.curlmulti method)": [[2, "pycurl.CurlMulti.select"]], "setopt() (pycurl.curlmulti method)": [[2, "pycurl.CurlMulti.setopt"]], "socket_action() (pycurl.curlmulti method)": [[2, "pycurl.CurlMulti.socket_action"]], "socket_all() (pycurl.curlmulti method)": [[2, "pycurl.CurlMulti.socket_all"]], "timeout() (pycurl.curlmulti method)": [[2, "pycurl.CurlMulti.timeout"]], "curl (class in pycurl)": [[3, "pycurl.Curl"]], "close() (pycurl.curl method)": [[3, "pycurl.Curl.close"]], "errstr() (pycurl.curl method)": [[3, "pycurl.Curl.errstr"]], "errstr_raw() (pycurl.curl method)": [[3, "pycurl.Curl.errstr_raw"]], "getinfo() (pycurl.curl method)": [[3, "pycurl.Curl.getinfo"]], "getinfo_raw() (pycurl.curl method)": [[3, "pycurl.Curl.getinfo_raw"]], "pause() (pycurl.curl method)": [[3, "pycurl.Curl.pause"]], "perform() (pycurl.curl method)": [[3, "pycurl.Curl.perform"]], "perform_rb() (pycurl.curl method)": [[3, "pycurl.Curl.perform_rb"]], "perform_rs() (pycurl.curl method)": [[3, "pycurl.Curl.perform_rs"]], "reset() (pycurl.curl method)": [[3, "pycurl.Curl.reset"]], "setopt() (pycurl.curl method)": [[3, "pycurl.Curl.setopt"]], "setopt_string() (pycurl.curl method)": [[3, "pycurl.Curl.setopt_string"]], "unsetopt() (pycurl.curl method)": [[3, "pycurl.Curl.unsetopt"]], "curlshare (class in pycurl)": [[4, "pycurl.CurlShare"]], "close() (pycurl.curlshare method)": [[4, "pycurl.CurlShare.close"]], "setopt() (pycurl.curlshare method)": [[4, "pycurl.CurlShare.setopt"]], "global_cleanup() (in module pycurl)": [[9, "pycurl.global_cleanup"]], "global_init() (in module pycurl)": [[9, "pycurl.global_init"]], "pycurl": [[9, "module-pycurl"]], "version (in module pycurl)": [[9, "pycurl.version"]], "version_info() (in module pycurl)": [[9, "pycurl.version_info"]]}})