Module Expr Str Import alias alias ImportFrom alias ImportFrom alias alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body Expr Str decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Num Assign NameStore NameLoad Assign NameStore Num Assign NameStore NameLoad Assign NameStore Call NameLoad TupleLoad Str Str Str Str FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr If BoolOpAnd CompareEq AttributeLoad AttributeLoad NameLoad attr attr Str CompareNotEq AttributeLoad AttributeLoad NameLoad attr attr Num body Assign NameStore BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr orelse If BoolOpAnd CompareEq AttributeLoad AttributeLoad NameLoad attr attr Str CompareNotEq AttributeLoad AttributeLoad NameLoad attr attr Num body Assign NameStore BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr orelse Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str Call NameLoad Call NameLoad NameLoad Assign NameStore ListLoad For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body If CompareNotIn Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareEq Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr NameLoad For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad ListLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr AttributeStore NameLoad attr TupleLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad BinOpAdd Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list Assign NameStore Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr Assign NameStore Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Return Assign NameStore SubscriptLoad NameLoad Index Num If AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad NameLoad keyword AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr AugAssignAdd AttributeStore AttributeLoad NameLoad attr attr Num If CompareGtE AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Return Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareEq AttributeLoad AttributeLoad NameLoad attr attr Str body ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If AttributeLoad NameLoad attr body Return If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad If CompareEq AttributeLoad AttributeLoad NameLoad attr attr Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str orelse If BoolOpAnd CompareNotEq AttributeLoad NameLoad attr NameLoad CompareNotEq AttributeLoad NameLoad attr Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Num FunctionDef arguments args NameParam NameParam defaults Num body Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword Num decorator_list FunctionDef arguments args NameParam NameParam defaults body If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Num If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Str Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Str NameLoad NameLoad Str Num NameLoad NameLoad Num NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Dict Assign AttributeStore NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr Call NameLoad NameLoad orelse Assign AttributeStore NameLoad attr Call NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Lambda arguments args NameParam defaults NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad NameLoad If BoolOpAnd NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad If CompareIn Str NameLoad body For NameStore SubscriptLoad NameLoad Index Str body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Num Assign SubscriptStore AttributeLoad NameLoad attr Index Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr AttributeStore NameLoad attr TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Str NameLoad NameLoad Str Num Num NameLoad Num Num NameLoad body Assign AttributeStore NameLoad attr Num If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If BoolOpAnd NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If NameLoad body Assign AttributeStore NameLoad attr NameLoad If CompareEq NameLoad NameLoad body Assign NameStore Dict Assign SubscriptStore NameLoad Index Str BinOpMod Str NameLoad orelse Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If UnaryOpNot NameLoad body Assign AttributeStore NameLoad attr Num Return Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num If CompareNotEq NameLoad AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body If NameLoad body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Num orelse Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If BoolOpAnd NameLoad UnaryOpNot AttributeLoad NameLoad attr body Raise NameLoad Str If AttributeLoad NameLoad attr body TryExcept body If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot AttributeLoad NameLoad attr body Return TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type NameLoad body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Num If AttributeLoad NameLoad attr body TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Num If UnaryOpNot AttributeLoad NameLoad attr body Return TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Return Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad TupleLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad BinOpAdd TupleLoad Str Str SubscriptLoad NameLoad Slice Num If CompareIs NameLoad NameLoad body If CompareEq NameLoad Str body Assign NameStore Num orelse Assign NameStore Num Assign TupleStore NameStore NameStore TupleLoad SubscriptLoad NameLoad Index Num NameLoad If CompareIn Str NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str TryExcept body Assign NameStore Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Assign NameStore NameLoad If CompareEq NameLoad Str body Assign NameStore Str Return Call NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad vararg kwarg body Expr Str Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad If CompareEq NameLoad Str body ImportFrom alias If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad vararg kwarg body Expr Str Return AttributeLoad Call NameLoad NameLoad NameLoad keyword NameLoad NameLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad vararg kwarg body Expr Str Assign NameStore Lambda arguments args NameParam defaults vararg kwarg Call NameLoad NameLoad NameLoad NameLoad NameLoad Return AttributeLoad Call NameLoad NameLoad NameLoad keyword NameLoad NameLoad NameLoad attr decorator_list ImportFrom alias ImportFrom alias alias alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Raise Call NameLoad Str decorator_list decorator_list orelse ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str Expr Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Str Num Assign NameStore Call NameLoad NameLoad Str Num FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad BinOpPow Num Num body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Return NameLoad Assign NameStore Call NameLoad Expr Call NameLoad Num AttributeLoad NameLoad attr Assign NameStore Call NameLoad Expr Call NameLoad NameLoad AttributeLoad NameLoad attr Return BinOpSub NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr decorator_list Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str While NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Break Expr Call AttributeLoad NameLoad attr NameLoad Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str If CompareNotIn NameLoad TupleLoad Str Str Str Str Str body Return NameLoad If UnaryOpNot Call NameLoad NameLoad TupleLoad NameLoad NameLoad NameLoad body Return NameLoad If CompareIsNot NameLoad NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad FunctionDef arguments args NameParam defaults body If Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return Call AttributeLoad Call AttributeLoad NameLoad attr attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr NameLoad orelse Return NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad Assign NameStore Num Assign NameStore Num Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad If CompareEq AttributeLoad NameLoad attr Str body If AttributeLoad NameLoad attr body Assign NameStore Lambda arguments args defaults Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr NameLoad Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareNotEq AttributeLoad NameLoad attr Str body TryExcept body Raise Call NameLoad Str handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr Return Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad ListLoad If CompareEq Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr Delete SubscriptDel AttributeLoad NameLoad attr Index NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Return Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Lambda arguments args NameParam defaults NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str If CompareIn TupleLoad NameLoad NameLoad TupleLoad TupleLoad Str Num TupleLoad Str Num body Return NameLoad Return BinOpMod Str TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad NameLoad NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults Call NameLoad NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Return Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Dict If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr If CompareEq NameLoad Str body Return Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad NameLoad orelse If CompareEq NameLoad Str body Return Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad orelse Raise Call NameLoad BinOpMod Str TupleLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign NameStore Call NameLoad NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Return Call AttributeLoad NameLoad attr Call NameLoad Assign NameStore TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body If CompareIs NameLoad NameLoad body ImportFrom alias Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign NameStore TupleLoad Str AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign TupleStore AttributeStore NameLoad attr NameStore Call NameLoad AttributeLoad NameLoad attr Assign TupleStore AttributeStore NameLoad attr NameStore Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Return SubscriptLoad NameLoad Index Num Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad ListLoad decorator_list decorator_list Return Call NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Return NameLoad decorator_list decorator_list ClassDef bases Call NameLoad NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases Call NameLoad NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr BinOpAdd Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Raise Call NameLoad ListLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler type AttributeLoad NameLoad attr body Raise Call NameLoad ListLoad NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad Str attr ListComp SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad NameLoad Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str ListLoad Assign NameStore Call AttributeLoad Call AttributeLoad Str attr NameLoad attr Str While NameLoad body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad Break If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str ListLoad Call AttributeLoad Str attr NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults Num body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad NameLoad Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Str If CompareGtE NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str keyword NameLoad Raise Call NameLoad ListLoad Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str ListLoad If UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str NameLoad Raise Call NameLoad ListLoad Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad BinOpAdd NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Str If CompareIn AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body If CompareNotIn NameLoad TupleLoad Str Str body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Raise Call NameLoad ListLoad Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad orelse If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr NameLoad Str NameLoad NameLoad NameLoad Return NameLoad decorator_list decorator_list Assign NameStore ListLoad Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str
N/A N/A 
HTTP client.
 N/A os types urlparse urlunparse urllib splithost splittype N/A zlib zope.interface implements twisted.python log twisted.python.failure Failure twisted.web http twisted.internet defer protocol task reactor twisted.internet.interfaces IProtocol twisted.internet.endpoints TCP4ClientEndpoint SSL4ClientEndpoint twisted.python failure twisted.python.util InsensitiveDict twisted.python.components proxyForInterface twisted.web error twisted.web.iweb UNKNOWN_LENGTH IBodyProducer IResponse twisted.web.http_headers Headers twisted.python.compat set PartialDownloadError N/A N/A error Error N/A N/A 
    Page was only partially downloaded, we got disconnected in middle.

    @ivar response: All of the response body which was downloaded.
     N/A HTTPPageGetter N/A N/A http HTTPClient N/A N/A 
    Gets a resource via HTTP, then quits.

    Typically used with L{HTTPClientFactory}.  Note that this class does not, by
    itself, do anything with the response.  If you want to download a resource
    into a file, use L{HTTPPageDownloader} instead.

    @ivar _completelyDone: A boolean indicating whether any further requests are
        necessary after this one completes in order to provide a result to
        C{self.factory.deferred}.  If it is C{False}, then a redirect is going
        to be followed.  Otherwise, this protocol's connection is the last one
        before firing the result Deferred.  This is used to make sure the result
        Deferred is only fired after the connection is cleaned up.
     N/A quietLoss 0 N/A followRedirect True N/A failed 0 N/A _completelyDone True N/A _specialHeaders N/A set N/A host user-agent cookie content-length connectionMade N/A N/A self N/A N/A N/A method N/A getattr N/A self factory method GET N/A N/A N/A self sendCommand method N/A N/A self factory path N/A N/A N/A N/A N/A self factory scheme http N/A N/A N/A self factory port 80 N/A N/A host N/A %s:%s N/A N/A N/A self factory host N/A N/A self factory port N/A N/A N/A N/A N/A N/A self factory scheme https N/A N/A N/A self factory port 443 N/A N/A host N/A %s:%s N/A N/A N/A self factory host N/A N/A self factory port N/A N/A host N/A N/A self factory host N/A N/A N/A self sendHeader Host N/A N/A N/A N/A self factory headers get host host N/A N/A N/A self sendHeader User-Agent N/A N/A self factory agent N/A data N/A getattr N/A self factory postdata None N/A N/A data None N/A N/A N/A N/A self sendHeader Content-Length N/A str N/A len data N/A cookieData N/A N/A N/A key value N/A N/A N/A N/A self factory headers items N/A N/A N/A N/A N/A key lower N/A self _specialHeaders N/A N/A N/A N/A self sendHeader key value N/A N/A N/A N/A key lower cookie N/A N/A N/A N/A cookieData append value N/A N/A cookie cookval N/A N/A N/A N/A self factory cookies items N/A N/A N/A N/A cookieData append N/A %s=%s N/A cookie cookval N/A cookieData N/A N/A N/A N/A self sendHeader Cookie N/A N/A ;  join cookieData N/A N/A N/A self endHeaders N/A N/A self headers N/A N/A N/A data None N/A N/A N/A N/A N/A self transport write data N/A handleHeader N/A N/A self key value N/A N/A N/A 
        Called every time a header is received. Stores the header information
        as key-value pairs in the C{headers} attribute.

        @type key: C{str}
        @param key: An HTTP header field name.

        @type value: C{str}
        @param value: An HTTP header field value.
         N/A key N/A N/A key lower N/A l N/A N/A N/A self headers setdefault key N/A N/A N/A N/A l append value N/A handleStatus N/A N/A self version status message N/A N/A N/A N/A N/A self version N/A self status N/A self message N/A version status message N/A N/A N/A N/A self factory gotStatus version status message N/A handleEndHeaders N/A N/A self N/A N/A N/A N/A N/A N/A self factory gotHeaders N/A self headers N/A m N/A getattr self N/A handleStatus_ N/A self status N/A self handleStatusDefault N/A N/A m N/A handleStatus_200 N/A N/A self N/A N/A N/A N/A N/A handleStatus_201 N/A N/A N/A self N/A N/A N/A self handleStatus_200 N/A handleStatus_202 N/A N/A N/A self N/A N/A N/A self handleStatus_200 handleStatusDefault N/A N/A self N/A N/A N/A N/A self failed 1 N/A handleStatus_301 N/A N/A self N/A N/A N/A l N/A N/A N/A self headers get location N/A N/A l N/A N/A N/A N/A self handleStatusDefault N/A N/A url N/A l N/A 0 N/A N/A self followRedirect N/A N/A N/A scheme host port path N/A _parse url defaultPort N/A N/A N/A N/A self transport getPeer port N/A N/A N/A self factory _redirectCount 1 N/A N/A N/A N/A self factory _redirectCount N/A N/A self factory redirectLimit N/A N/A err N/A N/A error InfiniteRedirection N/A self status Infinite redirection detected location url N/A N/A N/A N/A self factory noPage N/A N/A failure Failure err N/A N/A self quietLoss True N/A N/A N/A N/A self transport loseConnection N/A N/A N/A self _completelyDone False N/A N/A N/A N/A self factory setURL url N/A N/A N/A N/A self factory scheme https N/A twisted.internet ssl N/A contextFactory N/A N/A ssl ClientContextFactory N/A N/A N/A reactor connectSSL N/A N/A self factory host N/A N/A self factory port N/A self factory contextFactory N/A N/A N/A N/A reactor connectTCP N/A N/A self factory host N/A N/A self factory port N/A self factory N/A N/A N/A N/A self handleStatusDefault N/A N/A N/A N/A self factory noPage N/A N/A failure Failure N/A N/A error PageRedirect N/A self status N/A self message location url N/A N/A self quietLoss True N/A N/A N/A N/A self transport loseConnection N/A handleStatus_302 N/A N/A self N/A N/A N/A N/A self afterFoundGet N/A N/A N/A N/A self handleStatus_303 N/A N/A N/A N/A self handleStatus_301 N/A handleStatus_303 N/A N/A self N/A N/A N/A N/A N/A self factory method GET N/A N/A N/A self handleStatus_301 N/A connectionLost N/A N/A self reason N/A N/A N/A 
        When the connection used to issue the HTTP request is closed, notify the
        factory if we have not already, so it can produce a result.
         N/A N/A N/A self quietLoss N/A N/A N/A N/A N/A http HTTPClient connectionLost self reason N/A N/A N/A N/A self factory noPage reason N/A N/A self _completelyDone N/A N/A N/A N/A N/A N/A self factory _disconnectedDeferred callback None N/A handleResponse N/A N/A self response N/A N/A N/A N/A self quietLoss N/A N/A N/A N/A self failed N/A N/A N/A N/A N/A self factory noPage N/A N/A failure Failure N/A N/A error Error N/A self status N/A self message response N/A N/A N/A N/A self factory method HEAD N/A N/A N/A N/A N/A self factory page N/A N/A N/A N/A N/A self length None N/A N/A self length 0 N/A N/A N/A N/A N/A self factory noPage N/A N/A failure Failure N/A PartialDownloadError N/A self status N/A self message response N/A N/A N/A N/A N/A self factory page response N/A N/A N/A N/A self transport loseConnection N/A timeout N/A N/A self N/A N/A N/A N/A self quietLoss True N/A N/A N/A N/A self transport loseConnection N/A N/A N/A N/A self factory noPage N/A N/A defer TimeoutError N/A Getting %s took longer than %s seconds. N/A N/A N/A self factory url N/A N/A self factory timeout N/A N/A HTTPPageDownloader N/A HTTPPageGetter N/A N/A transmittingPage 0 handleStatus_200 N/A N/A self partialContent N/A 0 N/A N/A N/A N/A HTTPPageGetter handleStatus_200 self N/A N/A self transmittingPage 1 N/A N/A N/A N/A self factory pageStart partialContent N/A handleStatus_206 N/A N/A self N/A N/A N/A N/A N/A self handleStatus_200 partialContent 1 N/A handleResponsePart N/A N/A self data N/A N/A N/A N/A self transmittingPage N/A N/A N/A N/A N/A self factory pagePart data N/A handleResponseEnd N/A N/A self N/A N/A N/A N/A self length N/A N/A N/A self transmittingPage 0 N/A N/A N/A N/A self factory noPage N/A N/A failure Failure N/A PartialDownloadError N/A self status N/A N/A self transmittingPage N/A N/A N/A N/A N/A self factory pageEnd N/A N/A self transmittingPage 0 N/A N/A self failed N/A N/A N/A N/A N/A self factory noPage N/A N/A failure Failure N/A N/A error Error N/A self status N/A self message None N/A N/A N/A N/A self transport loseConnection N/A N/A HTTPClientFactory N/A N/A protocol ClientFactory N/A N/A Download a given URL.

    @type deferred: Deferred
    @ivar deferred: A Deferred that will fire when the content has
          been retrieved. Once this is fired, the ivars `status', `version',
          and `message' will be set.

    @type status: str
    @ivar status: The status of the response.

    @type version: str
    @ivar version: The version of the response.

    @type message: str
    @ivar message: The text message returned with the status.

    @type response_headers: dict
    @ivar response_headers: The headers that were specified in the
          response from the server.

    @type method: str
    @ivar method: The HTTP method to use in the request.  This should be one of
        OPTIONS, GET, HEAD, POST, PUT, DELETE, TRACE, or CONNECT (case
        matters).  Other values may be specified if the server being contacted
        supports them.

    @type redirectLimit: int
    @ivar redirectLimit: The maximum number of HTTP redirects that can occur
          before it is assumed that the redirection is endless.

    @type afterFoundGet: C{bool}
    @ivar afterFoundGet: Deviate from the HTTP 1.1 RFC by handling redirects
        the same way as most web browsers; if the request method is POST and a
        302 status is encountered, the redirect is followed with a GET method

    @type _redirectCount: int
    @ivar _redirectCount: The current number of HTTP redirects encountered.

    @ivar _disconnectedDeferred: A L{Deferred} which only fires after the last
        connection associated with the request (redirects may cause multiple
        connections to be required) has closed.  The result Deferred will only
        fire after this Deferred, so that callers can be assured that there are
        no more event sources in the reactor once they get the result.
     N/A protocol HTTPPageGetter N/A url None N/A scheme None N/A host N/A port None N/A path None __init__ N/A N/A self url method postdata headers agent timeout cookies followRedirect redirectLimit afterFoundGet N/A GET None None Twisted PageGetter 0 None True 20 False N/A N/A N/A self followRedirect followRedirect N/A N/A self redirectLimit redirectLimit N/A N/A self _redirectCount 0 N/A N/A self timeout timeout N/A N/A self agent agent N/A N/A self afterFoundGet afterFoundGet N/A N/A cookies None N/A N/A cookies N/A N/A N/A self cookies cookies N/A N/A headers None N/A N/A N/A self headers N/A InsensitiveDict headers N/A N/A N/A self headers N/A InsensitiveDict N/A N/A postdata None N/A N/A N/A N/A N/A self headers setdefault Content-Length N/A len postdata N/A N/A N/A N/A self headers setdefault connection close N/A N/A self postdata postdata N/A N/A self method method N/A N/A N/A self setURL url N/A N/A self waiting 1 N/A N/A self _disconnectedDeferred N/A N/A defer Deferred N/A N/A self deferred N/A N/A defer Deferred N/A N/A N/A N/A self deferred addBoth N/A self _waitForDisconnect N/A N/A self response_headers None N/A _waitForDisconnect N/A N/A self passthrough N/A N/A N/A 
        Chain onto the _disconnectedDeferred, preserving C{passthrough}, so that
        the result is only available after the associated connection has been
        closed.
         N/A N/A N/A N/A self _disconnectedDeferred addCallback N/A N/A N/A ignored N/A passthrough N/A N/A self _disconnectedDeferred N/A __repr__ N/A N/A self N/A N/A N/A N/A <%s: %s> N/A N/A N/A self __class__ __name__ N/A self url N/A setURL N/A N/A self url N/A N/A N/A N/A self url url N/A N/A scheme host port path N/A _parse url N/A N/A scheme host N/A N/A N/A self scheme scheme N/A N/A self host host N/A N/A self port port N/A N/A self path path N/A buildProtocol N/A N/A self addr N/A N/A N/A p N/A N/A N/A protocol ClientFactory buildProtocol self addr N/A N/A p followRedirect N/A self followRedirect N/A N/A p afterFoundGet N/A self afterFoundGet N/A N/A self timeout N/A N/A timeoutCall N/A N/A reactor callLater N/A self timeout N/A p timeout N/A N/A N/A N/A self deferred addBoth N/A self _cancelTimeout timeoutCall N/A p N/A _cancelTimeout N/A N/A self result timeoutCall N/A N/A N/A N/A N/A timeoutCall active N/A N/A N/A N/A timeoutCall cancel N/A result N/A gotHeaders N/A N/A self headers N/A N/A N/A N/A self response_headers headers N/A N/A set-cookie headers N/A N/A cookie N/A headers N/A set-cookie N/A N/A cookparts N/A N/A cookie split ; N/A cook N/A cookparts N/A 0 N/A N/A N/A cook lstrip N/A N/A k v N/A N/A cook split = 1 N/A N/A N/A self cookies N/A N/A N/A k lstrip N/A N/A v lstrip N/A gotStatus N/A N/A self version status message N/A N/A N/A N/A N/A self version N/A self status N/A self message N/A version status message N/A page N/A N/A self page N/A N/A N/A N/A self waiting N/A N/A N/A self waiting 0 N/A N/A N/A N/A self deferred callback page N/A noPage N/A N/A self reason N/A N/A N/A N/A self waiting N/A N/A N/A self waiting 0 N/A N/A N/A N/A self deferred errback reason N/A clientConnectionFailed N/A N/A self _ reason N/A N/A N/A 
        When a connection attempt fails, the request cannot be issued.  If no
        result has yet been provided to the result Deferred, provide the
        connection failure reason as an error result.
         N/A N/A self waiting N/A N/A N/A self waiting 0 N/A N/A N/A N/A self _disconnectedDeferred callback None N/A N/A N/A N/A self deferred errback reason N/A N/A HTTPDownloader N/A HTTPClientFactory N/A N/A Download to a file. N/A protocol HTTPPageDownloader N/A value None __init__ N/A N/A self url fileOrName method postdata headers agent supportPartial timeout cookies followRedirect redirectLimit afterFoundGet N/A GET None None Twisted client 0 0 None 1 20 False N/A N/A N/A self requestedPartial 0 N/A N/A isinstance fileOrName N/A types StringTypes N/A N/A N/A self fileName fileOrName N/A N/A self file None N/A N/A supportPartial N/A N/A N/A os path exists N/A self fileName N/A N/A fileLength N/A N/A N/A os path getsize N/A self fileName N/A fileLength N/A N/A N/A self requestedPartial fileLength N/A N/A headers None N/A N/A headers N/A N/A N/A headers N/A range N/A bytes=%d- fileLength N/A N/A N/A self file fileOrName N/A N/A N/A HTTPClientFactory __init__ self url method method postdata postdata headers headers agent agent timeout timeout cookies cookies followRedirect followRedirect redirectLimit redirectLimit afterFoundGet afterFoundGet N/A gotHeaders N/A N/A self headers N/A N/A N/A N/A N/A HTTPClientFactory gotHeaders self headers N/A N/A self requestedPartial N/A N/A contentRange N/A N/A headers get content-range None N/A N/A contentRange N/A N/A N/A self requestedPartial 0 N/A N/A N/A start end realLength N/A N/A http parseContentRange N/A contentRange N/A 0 N/A N/A start N/A self requestedPartial N/A N/A N/A self requestedPartial 0 N/A openFile N/A N/A self partialContent N/A N/A N/A partialContent N/A N/A file N/A open N/A self fileName rb+ N/A N/A N/A file seek 0 2 N/A N/A file N/A open N/A self fileName wb N/A file N/A pageStart N/A N/A self partialContent N/A N/A N/A Called on page download start.

        @param partialContent: tells us if the download is partial download we requested.
         N/A N/A partialContent N/A N/A self requestedPartial N/A N/A ValueError we shouldn't get partial content response if we didn't want it! N/A N/A self waiting N/A N/A N/A N/A N/A N/A self file N/A N/A N/A self file N/A N/A self openFile partialContent N/A N/A N/A IOError N/A N/A N/A N/A N/A self deferred errback N/A N/A failure Failure N/A pagePart N/A N/A self data N/A N/A N/A N/A N/A self file N/A N/A N/A N/A N/A N/A N/A N/A self file write data N/A N/A N/A IOError N/A N/A N/A self file None N/A N/A N/A N/A self deferred errback N/A N/A failure Failure N/A noPage N/A N/A self reason N/A N/A N/A 
        Close the storage file and errback the waiting L{Deferred} with the
        given reason.
         N/A N/A self waiting N/A N/A N/A self waiting 0 N/A N/A self file N/A N/A N/A N/A N/A N/A N/A self file close N/A N/A N/A N/A N/A N/A log err None Error closing HTTPDownloader file N/A N/A N/A N/A self deferred errback reason N/A pageEnd N/A N/A self N/A N/A N/A N/A self waiting 0 N/A N/A N/A self file N/A N/A N/A N/A N/A N/A N/A N/A self file close N/A N/A N/A IOError N/A N/A N/A N/A N/A self deferred errback N/A N/A failure Failure N/A N/A N/A N/A N/A self deferred callback N/A self value N/A N/A _URL N/A tuple N/A N/A 
    A parsed URL.

    At some point this should be replaced with a better URL implementation.
     __new__ N/A N/A self scheme host port path N/A N/A N/A N/A N/A tuple __new__ _URL N/A scheme host port path N/A __init__ N/A N/A self scheme host port path N/A N/A N/A N/A self scheme scheme N/A N/A self host host N/A N/A self port port N/A N/A self path path N/A N/A _parse N/A N/A url defaultPort N/A None N/A N/A 
    Split the given URL into the scheme, host, port, and path.

    @type url: C{str}
    @param url: An URL to parse.

    @type defaultPort: C{int} or C{None}
    @param defaultPort: An alternate value to use as the port if the URL does
    not include one.

    @return: A four-tuple of the scheme, host, port, and path of the URL.  All
    of these are C{str} instances except for port, which is an C{int}.
     N/A url N/A N/A url strip N/A parsed N/A N/A http urlparse url N/A scheme N/A parsed N/A 0 N/A path N/A urlunparse N/A N/A N/A parsed N/A 2 N/A N/A defaultPort None N/A N/A N/A scheme https N/A N/A defaultPort 443 N/A N/A defaultPort 80 N/A N/A host port N/A N/A parsed N/A 1 defaultPort N/A N/A : host N/A N/A N/A host port N/A N/A host split : N/A N/A N/A port N/A int port N/A N/A N/A ValueError N/A N/A port defaultPort N/A N/A path N/A N/A path / N/A N/A _URL scheme host port path N/A _makeGetterFactory N/A N/A url factoryFactory contextFactory N/A None args kwargs N/A N/A 
    Create and connect an HTTP page getting factory.

    Any additional positional or keyword arguments are used when calling
    C{factoryFactory}.

    @param factoryFactory: Factory factory that is called with C{url}, C{args}
        and C{kwargs} to produce the getter

    @param contextFactory: Context factory to use when creating a secure
        connection, defaulting to C{None}

    @return: The factory created by C{factoryFactory}
     N/A N/A scheme host port path N/A _parse url N/A factory N/A factoryFactory url args kwargs N/A N/A scheme https N/A twisted.internet ssl N/A N/A contextFactory None N/A N/A contextFactory N/A N/A ssl ClientContextFactory N/A N/A N/A reactor connectSSL host port factory contextFactory N/A N/A N/A N/A reactor connectTCP host port factory N/A factory N/A getPage N/A N/A url contextFactory N/A None args kwargs N/A N/A 
    Download a web page as a string.

    Download a page. Return a deferred, which will callback with a
    page (as a string) or errback with a description of the error.

    See L{HTTPClientFactory} to see what extra arguments can be passed.
     N/A N/A N/A _makeGetterFactory url HTTPClientFactory contextFactory contextFactory args kwargs deferred N/A downloadPage N/A N/A url file contextFactory N/A None args kwargs N/A N/A 
    Download a web page to a file.

    @param file: path to file on filesystem, or file-like object.

    See HTTPDownloader to see what extra args can be passed.
     N/A factoryFactory N/A N/A N/A url N/A a kw N/A HTTPDownloader url file a kw N/A N/A N/A _makeGetterFactory url factoryFactory contextFactory contextFactory args kwargs deferred N/A twisted.web.error SchemeNotSupported twisted.web._newclient Request Response HTTP11ClientProtocol twisted.web._newclient ResponseDone ResponseFailed twisted.web._newclient RequestNotSent RequestTransmissionFailed twisted.web._newclient ResponseNeverReceived N/A N/A twisted.internet.ssl ClientContextFactory N/A N/A N/A ImportError N/A WebClientContextFactory N/A object N/A N/A 
        A web context factory which doesn't work because the necessary SSL
        support is missing.
         getContext N/A N/A self hostname port N/A N/A N/A N/A NotImplementedError SSL support unavailable N/A N/A N/A WebClientContextFactory N/A ClientContextFactory N/A N/A 
        A web context factory which ignores the hostname and port and does no
        certificate verification.
         getContext N/A N/A self hostname port N/A N/A N/A N/A N/A ClientContextFactory getContext self N/A N/A _WebToNormalContextFactory N/A object N/A N/A 
    Adapt a web context factory to a normal context factory.

    @ivar _webContext: A web context factory which accepts a hostname and port
        number to its C{getContext} method.

    @ivar _hostname: The hostname which will be passed to
        C{_webContext.getContext}.

    @ivar _port: The port number which will be passed to
        C{_webContext.getContext}.
     __init__ N/A N/A self webContext hostname port N/A N/A N/A N/A self _webContext webContext N/A N/A self _hostname hostname N/A N/A self _port port N/A getContext N/A N/A self N/A N/A N/A 
        Called the wrapped web context factory's C{getContext} method with a
        hostname and port number and return the resulting context object.
         N/A N/A N/A N/A self _webContext getContext N/A self _hostname N/A self _port N/A N/A FileBodyProducer N/A object N/A N/A 
    L{FileBodyProducer} produces bytes from an input file object incrementally
    and writes them to a consumer.

    Since file-like objects cannot be read from in an event-driven manner,
    L{FileBodyProducer} uses a L{Cooperator} instance to schedule reads from
    the file.  This process is also paused and resumed based on notifications
    from the L{IConsumer} provider being written to.

    The file is closed after it has been read, or if the producer is stopped
    early.

    @ivar _inputFile: Any file-like object, bytes read from which will be
        written to a consumer.

    @ivar _cooperate: A method like L{Cooperator.cooperate} which is used to
        schedule all reads.

    @ivar _readSize: The number of bytes to read from C{_inputFile} at a time.
     N/A N/A implements IBodyProducer N/A _SEEK_SET N/A getattr os SEEK_SET 0 N/A _SEEK_END N/A getattr os SEEK_END 2 __init__ N/A N/A self inputFile cooperator readSize N/A task N/A 2 16 N/A N/A N/A self _inputFile inputFile N/A N/A self _cooperate N/A cooperator cooperate N/A N/A self _readSize readSize N/A N/A self length N/A N/A self _determineLength inputFile N/A _determineLength N/A N/A self fObj N/A N/A N/A 
        Determine how many bytes can be read out of C{fObj} (assuming it is not
        modified from this point on).  If the determination cannot be made,
        return C{UNKNOWN_LENGTH}.
         N/A N/A N/A seek N/A fObj seek N/A tell N/A fObj tell N/A N/A N/A AttributeError N/A N/A UNKNOWN_LENGTH N/A originalPosition N/A tell N/A N/A seek 0 N/A self _SEEK_END N/A end N/A tell N/A N/A seek originalPosition N/A self _SEEK_SET N/A N/A end originalPosition N/A stopProducing N/A N/A self N/A N/A N/A 
        Permanently stop writing bytes from the file to the consumer by
        stopping the underlying L{CooperativeTask}.
         N/A N/A N/A N/A self _inputFile close N/A N/A N/A N/A self _task stop N/A startProducing N/A N/A self consumer N/A N/A N/A 
        Start a cooperative task which will read bytes from the input file and
        write them to C{consumer}.  Return a L{Deferred} which fires after all
        bytes have been written.

        @param consumer: Any L{IConsumer} provider
         N/A N/A self _task N/A N/A self _cooperate N/A N/A self _writeloop consumer N/A d N/A N/A N/A self _task whenDone maybeStopped N/A N/A reason N/A N/A N/A N/A N/A reason trap N/A task TaskStopped N/A N/A N/A defer Deferred N/A N/A N/A N/A d addCallbacks N/A N/A N/A ignored N/A None maybeStopped N/A d N/A _writeloop N/A N/A self consumer N/A N/A N/A 
        Return an iterator which reads one chunk of bytes from the input file
        and writes them to the consumer for each time it is iterated.
         N/A True N/A N/A bytes N/A N/A N/A self _inputFile read N/A self _readSize N/A N/A bytes N/A N/A N/A N/A N/A self _inputFile close N/A N/A N/A N/A consumer write bytes N/A N/A None N/A pauseProducing N/A N/A self N/A N/A N/A 
        Temporarily suspend copying bytes from the input file to the consumer
        by pausing the L{CooperativeTask} which drives that activity.
         N/A N/A N/A N/A self _task pause N/A resumeProducing N/A N/A self N/A N/A N/A 
        Undo the effects of a previous C{pauseProducing} and resume copying
        bytes to the consumer by resuming the L{CooperativeTask} which drives
        the write activity.
         N/A N/A N/A N/A self _task resume N/A N/A _HTTP11ClientFactory N/A N/A protocol Factory N/A N/A 
    A factory for L{HTTP11ClientProtocol}, used by L{HTTPConnectionPool}.

    @ivar _quiescentCallback: The quiescent callback to be passed to protocol
        instances, used to return them to the connection pool.

    @since: 11.1
     __init__ N/A N/A self quiescentCallback N/A N/A N/A N/A self _quiescentCallback quiescentCallback N/A buildProtocol N/A N/A self addr N/A N/A N/A N/A HTTP11ClientProtocol N/A self _quiescentCallback N/A N/A _RetryingHTTP11ClientProtocol N/A object N/A N/A 
    A wrapper for L{HTTP11ClientProtocol} that automatically retries requests.

    @ivar _clientProtocol: The underlying L{HTTP11ClientProtocol}.

    @ivar _newConnection: A callable that creates a new connection for a
        retry.
     __init__ N/A N/A self clientProtocol newConnection N/A N/A N/A N/A self _clientProtocol clientProtocol N/A N/A self _newConnection newConnection N/A _shouldRetry N/A N/A self method exception bodyProducer N/A N/A N/A 
        Indicate whether request should be retried.

        Only returns C{True} if method is idempotent, no response was
        received, and no body was sent. The latter requirement may be relaxed
        in the future, and PUT added to approved method list.
         N/A N/A method N/A GET HEAD OPTIONS DELETE TRACE N/A N/A False N/A N/A N/A isinstance exception N/A RequestNotSent RequestTransmissionFailed ResponseNeverReceived N/A N/A False N/A N/A bodyProducer None N/A N/A False N/A True N/A request N/A N/A self request N/A N/A N/A 
        Do a request, and retry once (with a new connection) it it fails in
        a retryable manner.

        @param request: A L{Request} instance that will be requested using the
            wrapped protocol.
         N/A d N/A N/A N/A self _clientProtocol request request failed N/A N/A reason N/A N/A N/A N/A N/A self _shouldRetry N/A request method N/A reason value N/A request bodyProducer N/A N/A N/A N/A N/A N/A self _newConnection addCallback N/A N/A N/A connection N/A N/A N/A connection request request N/A N/A reason N/A N/A N/A N/A d addErrback failed N/A d N/A N/A HTTPConnectionPool N/A object N/A N/A 
    A pool of persistent HTTP connections.

    Features:
     - Cached connections will eventually time out.
     - Limits on maximum number of persistent connections.

    Connections are stored using keys, which should be chosen such that any
    connections stored under a given key can be used interchangeably.

    Failed requests done using previously cached connections will be retried
    once if they use an idempotent method (e.g. GET), in case the HTTP server
    timed them out.

    @ivar persistent: Boolean indicating whether connections should be
        persistent. Connections are persistent by default.

    @ivar maxPersistentPerHost: The maximum number of cached persistent
        connections for a C{host:port} destination.
    @type maxPersistentPerHost: C{int}

    @ivar cachedConnectionTimeout: Number of seconds a cached persistent
        connection will stay open before disconnecting.

    @ivar retryAutomatically: C{boolean} indicating whether idempotent
        requests should be retried once if no response was received.

    @ivar _factory: The factory used to connect to the proxy.

    @ivar _connections: Map (scheme, host, port) to lists of
        L{HTTP11ClientProtocol} instances.

    @ivar _timeouts: Map L{HTTP11ClientProtocol} instances to a
        C{IDelayedCall} instance of their timeout.

    @since: 12.1
     N/A _factory _HTTP11ClientFactory N/A maxPersistentPerHost 2 N/A cachedConnectionTimeout 240 N/A retryAutomatically True __init__ N/A N/A self reactor persistent N/A True N/A N/A N/A self _reactor reactor N/A N/A self persistent persistent N/A N/A self _connections N/A N/A N/A self _timeouts N/A N/A getConnection N/A N/A self key endpoint N/A N/A N/A 
        Retrieve a connection, either new or cached, to be used for a HTTP
        request.

        If a cached connection is returned, it will not be used for other
        requests until it is put back (which will happen automatically), since
        we do not support pipelined requests. If no cached connection is
        available, the passed in endpoint is used to create the connection.

        If the connection doesn't disconnect at the end of its request, it
        will be returned to this pool automatically. As such, only a single
        request should be sent using the returned connection.

        @param key: A unique key identifying connections that can be used
            interchangeably.

        @param endpoint: An endpoint that can be used to open a new connection
            if no cached connection is available.

        @return: A C{Deferred} that will fire with a L{HTTP11ClientProtocol}
           (or a wrapper) that can be used to send a single HTTP request.
         N/A connections N/A N/A N/A self _connections get key N/A connections N/A N/A connection N/A N/A connections pop 0 N/A N/A N/A N/A N/A self _timeouts N/A connection cancel N/A N/A N/A self _timeouts N/A connection N/A N/A N/A connection state QUIESCENT N/A N/A N/A self retryAutomatically N/A N/A newConnection N/A N/A N/A N/A N/A N/A self _newConnection key endpoint N/A connection N/A _RetryingHTTP11ClientProtocol connection newConnection N/A N/A N/A defer succeed connection N/A N/A N/A self _newConnection key endpoint N/A _newConnection N/A N/A self key endpoint N/A N/A N/A 
        Create a new connection.

        This implements the new connection code path for L{getConnection}.
         quiescentCallback N/A N/A protocol N/A N/A N/A N/A N/A self _putConnection key protocol N/A N/A factory N/A N/A self _factory quiescentCallback N/A N/A N/A endpoint connect factory N/A _removeConnection N/A N/A self key connection N/A N/A N/A 
        Remove a connection from the cache and disconnect it.
         N/A N/A N/A N/A connection transport loseConnection N/A N/A N/A N/A N/A self _connections N/A key remove connection N/A N/A N/A self _timeouts N/A connection N/A _putConnection N/A N/A self key connection N/A N/A N/A 
        Return a persistent connection to the pool. This will be called by
        L{HTTP11ClientProtocol} when the connection becomes quiescent.
         N/A N/A N/A connection state QUIESCENT N/A N/A N/A N/A N/A RuntimeError BUG: Non-quiescent protocol added to connection pool. N/A N/A N/A N/A N/A N/A log err N/A N/A connections N/A N/A N/A self _connections setdefault key N/A N/A N/A N/A len connections N/A self maxPersistentPerHost N/A N/A dropped N/A N/A connections pop 0 N/A N/A N/A N/A dropped transport loseConnection N/A N/A N/A N/A N/A self _timeouts N/A dropped cancel N/A N/A N/A self _timeouts N/A dropped N/A N/A N/A connections append connection N/A cid N/A N/A N/A self _reactor callLater N/A self cachedConnectionTimeout N/A self _removeConnection key connection N/A N/A N/A self _timeouts N/A connection cid N/A closeCachedConnections N/A N/A self N/A N/A N/A 
        Close all persistent connections and remove them from the pool.

        @return: L{defer.Deferred} that fires when all connections have been
            closed.
         N/A results N/A N/A protocols N/A N/A N/A self _connections itervalues N/A N/A p protocols N/A N/A N/A N/A results append N/A N/A p abort N/A N/A self _connections N/A N/A dc N/A N/A N/A self _timeouts values N/A N/A N/A N/A dc cancel N/A N/A self _timeouts N/A N/A N/A N/A N/A N/A defer gatherResults results addCallback N/A N/A N/A ign N/A None N/A N/A _AgentBase N/A object N/A N/A 
    Base class offering common facilities for L{Agent}-type classes.

    @ivar _reactor: The C{IReactorTime} implementation which will be used by
        the pool, and perhaps by subclasses as well.

    @ivar _pool: The L{HTTPConnectionPool} used to manage HTTP connections.
     __init__ N/A N/A self reactor pool N/A N/A N/A N/A pool None N/A N/A pool N/A HTTPConnectionPool reactor False N/A N/A self _reactor reactor N/A N/A self _pool pool N/A _computeHostValue N/A N/A self scheme host port N/A N/A N/A 
        Compute the string to use for the value of the I{Host} header, based on
        the given scheme, host name, and port number.
         N/A N/A N/A scheme port N/A N/A http 80 N/A https 443 N/A N/A host N/A N/A %s:%d N/A host port N/A _requestWithEndpoint N/A N/A self key endpoint method parsedURI headers bodyProducer requestPath N/A N/A N/A 
        Issue a new request, given the endpoint and the path sent as part of
        the request.
         N/A N/A headers None N/A N/A headers N/A Headers N/A N/A N/A N/A headers hasHeader host N/A N/A headers N/A N/A headers copy N/A N/A N/A headers addRawHeader host N/A N/A self _computeHostValue N/A parsedURI scheme N/A parsedURI host N/A parsedURI port N/A d N/A N/A N/A self _pool getConnection key endpoint cbConnected N/A N/A proto N/A N/A N/A N/A N/A proto request N/A Request method requestPath headers bodyProducer persistent N/A N/A self _pool persistent N/A N/A N/A N/A d addCallback cbConnected N/A d N/A N/A Agent N/A _AgentBase N/A N/A 
    L{Agent} is a very basic HTTP client.  It supports I{HTTP} and I{HTTPS}
    scheme URIs (but performs no certificate checking by default).

    @param pool: A L{HTTPConnectionPool} instance, or C{None}, in which case a
        non-persistent L{HTTPConnectionPool} instance will be created.

    @ivar _contextFactory: A web context factory which will be used to create
        SSL context objects for any SSL connections the agent needs to make.

    @ivar _connectTimeout: If not C{None}, the timeout passed to C{connectTCP}
        or C{connectSSL} for specifying the connection timeout.

    @ivar _bindAddress: If not C{None}, the address passed to C{connectTCP} or
        C{connectSSL} for specifying the local address to bind to.

    @since: 9.0
     __init__ N/A N/A self reactor contextFactory connectTimeout bindAddress pool N/A N/A WebClientContextFactory None None None N/A N/A N/A N/A _AgentBase __init__ self reactor pool N/A N/A self _contextFactory contextFactory N/A N/A self _connectTimeout connectTimeout N/A N/A self _bindAddress bindAddress N/A _wrapContextFactory N/A N/A self host port N/A N/A N/A 
        Create and return a normal context factory wrapped around
        C{self._contextFactory} in such a way that C{self._contextFactory} will
        have the host and port information passed to it.

        @param host: A C{str} giving the hostname which will be connected to in
            order to issue a request.

        @param port: An C{int} giving the port number the connection will be
            on.

        @return: A context factory suitable to be passed to
            C{reactor.connectSSL}.
         N/A N/A _WebToNormalContextFactory N/A self _contextFactory host port N/A _getEndpoint N/A N/A self scheme host port N/A N/A N/A 
        Get an endpoint for the given host and port, using a transport
        selected based on scheme.

        @param scheme: A string like C{'http'} or C{'https'} (the only two
            supported values) to use to determine how to establish the
            connection.

        @param host: A C{str} giving the hostname which will be connected to in
            order to issue a request.

        @param port: An C{int} giving the port number the connection will be
            on.

        @return: An endpoint which can be used to connect to given address.
         N/A kwargs N/A N/A N/A N/A self _connectTimeout None N/A N/A N/A kwargs N/A timeout N/A self _connectTimeout N/A N/A kwargs N/A bindAddress N/A self _bindAddress N/A N/A scheme http N/A N/A N/A TCP4ClientEndpoint N/A self _reactor host port kwargs N/A N/A N/A scheme https N/A N/A N/A SSL4ClientEndpoint N/A self _reactor host port N/A N/A self _wrapContextFactory host port kwargs N/A N/A N/A SchemeNotSupported N/A Unsupported scheme: %r N/A scheme N/A request N/A N/A self method uri headers bodyProducer N/A None None N/A N/A 
        Issue a new request.

        @param method: The request method to send.
        @type method: C{str}

        @param uri: The request URI send.
        @type uri: C{str}

        @param headers: The request headers to send.  If no I{Host} header is
            included, one will be added based on the request URI.
        @type headers: L{Headers}

        @param bodyProducer: An object which will produce the request body or,
            if the request body is to be empty, L{None}.
        @type bodyProducer: L{IBodyProducer} provider

        @return: A L{Deferred} which fires with the result of the request (a
            L{twisted.web.iweb.IResponse} provider), or fails if there is a
            problem setting up a connection over which to issue the request.
            It may also fail with L{SchemeNotSupported} if the scheme of the
            given URI is not supported.
        @rtype: L{Deferred}
         N/A parsedURI N/A _parse uri N/A N/A N/A endpoint N/A N/A self _getEndpoint N/A parsedURI scheme N/A parsedURI host N/A parsedURI port N/A N/A N/A SchemeNotSupported N/A N/A N/A N/A defer fail N/A Failure N/A key N/A N/A parsedURI scheme N/A parsedURI host N/A parsedURI port N/A N/A N/A self _requestWithEndpoint key endpoint method parsedURI headers bodyProducer N/A parsedURI path N/A N/A ProxyAgent N/A _AgentBase N/A N/A 
    An HTTP agent able to cross HTTP proxies.

    @ivar _proxyEndpoint: The endpoint used to connect to the proxy.

    @since: 11.1
     __init__ N/A N/A self endpoint reactor pool N/A None None N/A N/A N/A reactor None N/A twisted.internet reactor N/A N/A N/A _AgentBase __init__ self reactor pool N/A N/A self _proxyEndpoint endpoint N/A request N/A N/A self method uri headers bodyProducer N/A None None N/A N/A 
        Issue a new request via the configured proxy.
         N/A key N/A http-proxy N/A self _proxyEndpoint N/A N/A N/A self _requestWithEndpoint key N/A self _proxyEndpoint method N/A _parse uri headers bodyProducer uri N/A N/A _FakeUrllib2Request N/A object N/A N/A 
    A fake C{urllib2.Request} object for C{cookielib} to work with.

    @see: U{http://docs.python.org/library/urllib2.html#request-objects}

    @type uri: C{str}
    @ivar uri: Request URI.

    @type headers: L{twisted.web.http_headers.Headers}
    @ivar headers: Request headers.

    @type type: C{str}
    @ivar type: The scheme of the URI.

    @type host: C{str}
    @ivar host: The host[:port] of the URI.

    @since: 11.1
     __init__ N/A N/A self uri N/A N/A N/A N/A self uri uri N/A N/A self headers N/A Headers N/A N/A N/A self type rest N/A splittype N/A self uri N/A N/A N/A self host rest N/A splithost rest N/A has_header N/A N/A self header N/A N/A N/A N/A N/A N/A self headers hasHeader header N/A add_unredirected_header N/A N/A self name value N/A N/A N/A N/A N/A N/A self headers addRawHeader name value N/A get_full_url N/A N/A self N/A N/A N/A N/A self uri N/A get_header N/A N/A self name default N/A None N/A N/A headers N/A N/A N/A self headers getRawHeaders name default N/A N/A headers None N/A N/A N/A headers N/A 0 N/A None N/A get_host N/A N/A self N/A N/A N/A N/A self host N/A get_type N/A N/A self N/A N/A N/A N/A self type N/A is_unverifiable N/A N/A self N/A N/A N/A False N/A N/A _FakeUrllib2Response N/A object N/A N/A 
    A fake C{urllib2.Response} object for C{cookielib} to work with.

    @type response: C{twisted.web.iweb.IResponse}
    @ivar response: Underlying Twisted Web response.

    @since: 11.1
     __init__ N/A N/A self response N/A N/A N/A N/A self response response N/A info N/A N/A self N/A N/A _Meta N/A object N/A getheaders N/A N/A zelf name N/A N/A N/A N/A N/A N/A N/A self response headers getRawHeaders name N/A N/A N/A N/A N/A _Meta N/A N/A CookieAgent N/A object N/A N/A 
    L{CookieAgent} extends the basic L{Agent} to add RFC-compliant
    handling of HTTP cookies.  Cookies are written to and extracted
    from a C{cookielib.CookieJar} instance.

    The same cookie jar instance will be used for any requests through this
    agent, mutating it whenever a I{Set-Cookie} header appears in a response.

    @type _agent: L{twisted.web.client.Agent}
    @ivar _agent: Underlying Twisted Web agent to issue requests through.

    @type cookieJar: C{cookielib.CookieJar}
    @ivar cookieJar: Initialized cookie jar to read cookies from and store
        cookies to.

    @since: 11.1
     __init__ N/A N/A self agent cookieJar N/A N/A N/A N/A self _agent agent N/A N/A self cookieJar cookieJar N/A request N/A N/A self method uri headers bodyProducer N/A None None N/A N/A 
        Issue a new request to the wrapped L{Agent}.

        Send a I{Cookie} header if a cookie for C{uri} is stored in
        L{CookieAgent.cookieJar}. Cookies are automatically extracted and
        stored from requests.

        If a C{'cookie'} header appears in C{headers} it will override the
        automatic cookie header obtained from the cookie jar.

        @see: L{Agent.request}
         N/A N/A headers None N/A N/A headers N/A Headers N/A lastRequest N/A _FakeUrllib2Request uri N/A N/A N/A N/A headers hasHeader cookie N/A N/A N/A N/A N/A self cookieJar add_cookie_header lastRequest N/A cookieHeader N/A N/A lastRequest get_header Cookie None N/A N/A cookieHeader None N/A N/A headers N/A N/A headers copy N/A N/A N/A headers addRawHeader cookie cookieHeader N/A d N/A N/A N/A self _agent request method uri headers bodyProducer N/A N/A N/A d addCallback N/A self _extractCookies lastRequest N/A d N/A _extractCookies N/A N/A self response request N/A N/A N/A 
        Extract response cookies and store them in the cookie jar.

        @type response: L{twisted.web.iweb.IResponse}
        @param response: Twisted Web response.

        @param request: A urllib2 compatible request object.
         N/A resp N/A _FakeUrllib2Response response N/A N/A N/A N/A self cookieJar extract_cookies resp request N/A response N/A N/A GzipDecoder N/A N/A proxyForInterface IResponse N/A N/A 
    A wrapper for a L{Response} instance which handles gzip'ed body.

    @ivar original: The original L{Response} object.

    @since: 11.1
     __init__ N/A N/A self response N/A N/A N/A N/A self original response N/A N/A self length UNKNOWN_LENGTH N/A deliverBody N/A N/A self protocol N/A N/A N/A 
        Override C{deliverBody} to wrap the given C{protocol} with
        L{_GzipProtocol}.
         N/A N/A N/A N/A self original deliverBody N/A _GzipProtocol protocol N/A self original N/A N/A _GzipProtocol N/A N/A proxyForInterface IProtocol N/A N/A 
    A L{Protocol} implementation which wraps another one, transparently
    decompressing received data.

    @ivar _zlibDecompress: A zlib decompress object used to decompress the data
        stream.

    @ivar _response: A reference to the original response, in case of errors.

    @since: 11.1
     __init__ N/A N/A self protocol response N/A N/A N/A N/A self original protocol N/A N/A self _response response N/A N/A self _zlibDecompress N/A N/A zlib decompressobj N/A 16 N/A zlib MAX_WBITS N/A dataReceived N/A N/A self data N/A N/A N/A 
        Decompress C{data} with the zlib decompressor, forwarding the raw data
        to the original protocol.
         N/A N/A N/A rawData N/A N/A N/A self _zlibDecompress decompress data N/A N/A N/A N/A zlib error N/A N/A N/A ResponseFailed N/A N/A N/A failure Failure N/A self _response N/A rawData N/A N/A N/A N/A N/A self original dataReceived rawData N/A connectionLost N/A N/A self reason N/A N/A N/A 
        Forward the connection lost event, flushing remaining data from the
        decompressor if any.
         N/A N/A N/A rawData N/A N/A N/A self _zlibDecompress flush N/A N/A N/A N/A zlib error N/A N/A N/A ResponseFailed N/A reason N/A N/A failure Failure N/A self _response N/A rawData N/A N/A N/A N/A N/A self original dataReceived rawData N/A N/A N/A N/A self original connectionLost reason N/A N/A ContentDecoderAgent N/A object N/A N/A 
    An L{Agent} wrapper to handle encoded content.

    It takes care of declaring the support for content in the
    I{Accept-Encoding} header, and automatically decompresses the received data
    if it's effectively using compression.

    @param decoders: A list or tuple of (name, decoder) objects. The name
        declares which decoding the decoder supports, and the decoder must
        return a response object when called/instantiated. For example,
        C{(('gzip', GzipDecoder))}. The order determines how the decoders are
        going to be advertized to the server.

    @since: 11.1
     __init__ N/A N/A self agent decoders N/A N/A N/A N/A self _agent agent N/A N/A self _decoders N/A dict decoders N/A N/A self _supported N/A N/A , join N/A N/A decoder N/A 0 N/A decoder decoders N/A request N/A N/A self method uri headers bodyProducer N/A None None N/A N/A 
        Send a client request which declares supporting compressed content.

        @see: L{Agent.request}.
         N/A N/A headers None N/A N/A headers N/A Headers N/A N/A headers N/A N/A headers copy N/A N/A N/A headers addRawHeader accept-encoding N/A self _supported N/A deferred N/A N/A N/A self _agent request method uri headers bodyProducer N/A N/A N/A deferred addCallback N/A self _handleResponse N/A _handleResponse N/A N/A self response N/A N/A N/A 
        Check if the response is encoded, and wrap it to handle decompression.
         N/A contentEncodingHeaders N/A N/A N/A response headers getRawHeaders content-encoding N/A N/A contentEncodingHeaders N/A N/A N/A N/A , join contentEncodingHeaders split , N/A contentEncodingHeaders N/A N/A name N/A N/A N/A N/A contentEncodingHeaders pop strip N/A decoder N/A N/A N/A self _decoders get name N/A N/A decoder None N/A N/A response N/A decoder response N/A N/A N/A N/A contentEncodingHeaders append name N/A N/A contentEncodingHeaders N/A N/A N/A N/A N/A response headers setRawHeaders content-encoding N/A N/A N/A , join contentEncodingHeaders N/A N/A N/A N/A N/A response headers removeHeader content-encoding N/A response N/A N/A RedirectAgent N/A object N/A N/A 
    An L{Agent} wrapper which handles HTTP redirects.

    The implementation is rather strict: 301 and 302 behaves like 307, not
    redirecting automatically on methods different from C{GET} and C{HEAD}.

    @param redirectLimit: The maximum number of times the agent is allowed to
        follow redirects before failing with a L{error.InfiniteRedirection}.

    @since: 11.1
     __init__ N/A N/A self agent redirectLimit N/A 20 N/A N/A N/A self _agent agent N/A N/A self _redirectLimit redirectLimit N/A request N/A N/A self method uri headers bodyProducer N/A None None N/A N/A 
        Send a client request following HTTP redirects.

        @see: L{Agent.request}.
         N/A deferred N/A N/A N/A self _agent request method uri headers bodyProducer N/A N/A N/A deferred addCallback N/A self _handleResponse method uri headers 0 N/A _handleRedirect N/A N/A self response method uri headers redirectCount N/A N/A N/A 
        Handle a redirect response, checking the number of redirects already
        followed, and extracting the location header fields.
         N/A N/A redirectCount N/A self _redirectLimit N/A N/A err N/A N/A error InfiniteRedirection N/A response code Infinite redirection detected location uri N/A N/A ResponseFailed N/A N/A N/A failure Failure err response N/A locationHeaders N/A N/A N/A response headers getRawHeaders location N/A N/A N/A locationHeaders N/A N/A err N/A N/A error RedirectWithNoLocation N/A response code No location header field uri N/A N/A ResponseFailed N/A N/A N/A failure Failure err response N/A location N/A locationHeaders N/A 0 N/A deferred N/A N/A N/A self _agent request method location headers N/A N/A N/A deferred addCallback N/A self _handleResponse method uri headers N/A redirectCount 1 N/A _handleResponse N/A N/A self response method uri headers redirectCount N/A N/A N/A 
        Handle the response, making another request if it indicates a redirect.
         N/A N/A N/A response code N/A N/A http MOVED_PERMANENTLY N/A http FOUND N/A http TEMPORARY_REDIRECT N/A N/A N/A method N/A GET HEAD N/A N/A err N/A N/A error PageRedirect N/A response code location uri N/A N/A ResponseFailed N/A N/A N/A failure Failure err response N/A N/A N/A self _handleRedirect response method uri headers redirectCount N/A N/A N/A N/A response code N/A http SEE_OTHER N/A N/A N/A N/A self _handleRedirect response GET uri headers redirectCount N/A response N/A N/A N/A __all__ N/A PartialDownloadError HTTPPageGetter HTTPPageDownloader HTTPClientFactory HTTPDownloader getPage downloadPage ResponseDone Response ResponseFailed Agent CookieAgent ProxyAgent ContentDecoderAgent GzipDecoder RedirectAgent HTTPConnectionPool