Module Import alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad keyword Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assert NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assert CompareIn AttributeLoad NameLoad attr TupleLoad Str Str If CompareEq AttributeLoad NameLoad attr Str body Assign AttributeStore NameLoad attr BoolOpOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse If CompareEq AttributeLoad NameLoad attr Str body Assign AttributeStore NameLoad attr BoolOpOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body AugAssignAdd AttributeStore NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareEq AttributeLoad NameLoad attr Str body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return CompareIsNot AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot Call NameLoad NameLoad Str body Raise NameLoad If CompareIs NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr BinOpDiv NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults vararg kwarg body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body If Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Call NameLoad Call NameLoad NameLoad If BoolOpOr UnaryOpNot AttributeLoad NameLoad attr CompareNotIn Str AttributeLoad NameLoad attr body Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Num If NameLoad body Assign NameStore BinOpMod Str TupleLoad NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad If AttributeLoad NameLoad attr body For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list If Call NameLoad NameLoad Str body Assign NameStore Call NameLoad NameLoad decorator_list
N/A N/A httplib N/A os N/A socket N/A sys N/A urllib N/A urlparse N/A warnings cStringIO StringIO TTransport * THttpClient N/A TTransportBase N/A N/A Http implementation of TTransport base. __init__ N/A N/A self uri_or_host port path N/A None None N/A N/A THttpClient supports two different types constructor parameters.

    THttpClient(host, port, path) - deprecated
    THttpClient(uri)

    Only the second supports https.
     N/A N/A port None N/A N/A N/A N/A warnings warn Please use the THttpClient('http://host:port/path') syntax DeprecationWarning stacklevel 2 N/A N/A self host uri_or_host N/A N/A self port port N/A path N/A N/A self path path N/A N/A self scheme http N/A N/A parsed N/A N/A urlparse urlparse uri_or_host N/A N/A self scheme N/A parsed scheme N/A N/A N/A self scheme N/A http https N/A N/A N/A self scheme http N/A N/A N/A self port N/A N/A parsed port N/A httplib HTTP_PORT N/A N/A N/A N/A self scheme https N/A N/A N/A self port N/A N/A parsed port N/A httplib HTTPS_PORT N/A N/A self host N/A parsed hostname N/A N/A self path N/A parsed path N/A N/A parsed query N/A N/A N/A self path N/A ?%s N/A parsed query N/A N/A self __wbuf N/A StringIO N/A N/A self __http None N/A N/A self __timeout None N/A N/A self __custom_headers None N/A open N/A N/A self N/A N/A N/A N/A N/A self scheme http N/A N/A N/A self __http N/A N/A httplib HTTP N/A self host N/A self port N/A N/A N/A self __http N/A N/A httplib HTTPS N/A self host N/A self port N/A close N/A N/A self N/A N/A N/A N/A N/A N/A self __http close N/A N/A self __http None N/A isOpen N/A N/A self N/A N/A N/A N/A N/A self __http None N/A setTimeout N/A N/A self ms N/A N/A N/A N/A N/A hasattr socket getdefaulttimeout N/A N/A NotImplementedError N/A N/A ms None N/A N/A N/A self __timeout None N/A N/A N/A self __timeout N/A ms 1000.0 N/A setCustomHeaders N/A N/A self headers N/A N/A N/A N/A self __custom_headers headers N/A read N/A N/A self sz N/A N/A N/A N/A N/A N/A N/A self __http file read sz N/A write N/A N/A self buf N/A N/A N/A N/A N/A N/A self __wbuf write buf N/A __withTimeout N/A N/A f N/A N/A _f N/A N/A N/A args kwargs N/A N/A orig_timeout N/A N/A socket getdefaulttimeout N/A N/A N/A socket setdefaulttimeout N/A N/A args N/A 0 __timeout N/A result N/A f args kwargs N/A N/A N/A socket setdefaulttimeout orig_timeout N/A result N/A N/A _f N/A flush N/A N/A self N/A N/A N/A N/A N/A self isOpen N/A N/A N/A N/A self close N/A N/A N/A self open N/A data N/A N/A N/A self __wbuf getvalue N/A N/A self __wbuf N/A StringIO N/A N/A N/A N/A self __http putrequest POST N/A self path N/A N/A N/A N/A self __http putheader Host N/A self host N/A N/A N/A N/A self __http putheader Content-Type application/x-thrift N/A N/A N/A N/A self __http putheader Content-Length N/A str N/A len data N/A N/A N/A N/A self __custom_headers N/A User-Agent N/A self __custom_headers N/A N/A user_agent Python/THttpClient N/A script N/A N/A N/A os path basename N/A N/A sys argv N/A 0 N/A script N/A N/A user_agent N/A %s (%s) N/A user_agent N/A N/A urllib quote script N/A N/A N/A N/A self __http putheader User-Agent user_agent N/A N/A self __custom_headers N/A N/A N/A key val N/A N/A N/A self __custom_headers iteritems N/A N/A N/A N/A N/A self __http putheader key val N/A N/A N/A N/A self __http endheaders N/A N/A N/A N/A self __http send data N/A N/A N/A self code N/A self message N/A self headers N/A N/A N/A self __http getreply N/A N/A N/A hasattr socket getdefaulttimeout N/A N/A flush N/A __withTimeout flush N/A