Module Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias FunctionDef arguments args NameParam defaults body If CompareGt Call NameLoad NameLoad Num body Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore Yield Call NameLoad NameLoad orelse Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Assign NameStore Dict Assign SubscriptStore NameLoad Index Str BinOpMod Str Call AttributeLoad NameLoad attr Num Num Assign SubscriptStore NameLoad Index Str Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Return NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults Str body Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr BoolOpOr NameLoad Str Assign AttributeStore NameLoad attr NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore ListLoad If Call NameLoad AttributeLoad NameLoad attr Str body If AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AugAssignAdd NameStore BinOpMod Str Call AttributeLoad Str attr NameLoad Return BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If BinOpBitAnd AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Index Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad AttributeLoad NameLoad attr If UnaryOpNot Call NameLoad AttributeLoad NameLoad attr Str body Raise Call NameLoad BinOpMod Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr If CompareEq AttributeLoad NameLoad attr Str body Raise Call NameLoad BinOpMod Str AttributeLoad NameLoad attr If Call NameLoad AttributeLoad NameLoad attr Str body Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr orelse Assign AttributeStore NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad 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 defaults body Return BinOpMod Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults Str body Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr BoolOpOr NameLoad Str Assign AttributeStore NameLoad attr NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore ListLoad If Call NameLoad AttributeLoad NameLoad attr Str body If AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AugAssignAdd NameStore BinOpMod Str Call AttributeLoad Str attr NameLoad Return BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr If CompareGt Call NameLoad NameLoad Num body Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Num orelse Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If BinOpBitAnd AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Index Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr If CompareEq AttributeLoad NameLoad attr Str body Raise Call NameLoad BinOpMod Str AttributeLoad NameLoad attr If Call NameLoad AttributeLoad NameLoad attr Str body Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr orelse Assign AttributeStore NameLoad attr NameLoad If BoolOpAnd Call NameLoad AttributeLoad NameLoad attr Str Call NameLoad AttributeLoad NameLoad attr Str body Raise Call NameLoad BinOpMod Str AttributeLoad NameLoad attr If BoolOpAnd Call NameLoad AttributeLoad NameLoad attr Str Call NameLoad AttributeLoad NameLoad attr Str body Raise Call NameLoad BinOpMod Str AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr NameLoad If BoolOpAnd AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Str body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad orelse If BoolOpAnd AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Str body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr NameLoad If BoolOpAnd AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Str body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad orelse If BoolOpAnd AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Str body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad AttributeLoad NameLoad attr Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad AttributeLoad NameLoad attr Str body Assign NameStore Yield Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body If Call NameLoad AttributeLoad NameLoad attr Str body Assign NameStore Yield Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list AttributeLoad NameLoad attr decorator_list ClassDef bases NameLoad body Assign NameStore Dict Str Str Str Str TupleLoad Str Str Str Str NameLoad TupleLoad Str Str Str Str Call NameLoad Str TupleLoad Str Str Str Str Call NameLoad Str TupleLoad Str Str Str Str Call NameLoad Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad BinOpAdd AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num Return Call AttributeLoad NameLoad attr keyword NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults ListLoad body Assign NameStore Call SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num NameLoad If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore Yield NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list NameLoad AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call AttributeLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num attr keyword NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return ListComp NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Return SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Return SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num decorator_list NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str Assign NameStore ListLoad For NameStore NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Print Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str Assign NameStore ListLoad For NameStore NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Print Call NameLoad NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore ListComp Call AttributeLoad NameLoad attr Str comprehension NameStore NameLoad Assign NameStore ListLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str If CompareNotEq AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr orelse If CompareNotEq AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr If BoolOpAnd CompareIn Str AttributeLoad NameLoad attr CompareNotEq AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str body Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr If NameLoad body Assign NameStore BinOpAdd Str Call AttributeLoad Str attr NameLoad orelse Assign NameStore Str Assign NameStore Str For NameStore NameLoad body AugAssignAdd NameStore BinOpMod Str NameLoad AugAssignAdd NameStore Str AugAssignAdd NameStore NameLoad AugAssignAdd NameStore Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str Str body Assign NameStore Dict If NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad orelse Expr Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str BinOpMod Str Call AttributeLoad NameLoad attr Num Num Assign SubscriptStore NameLoad Index Str NameLoad Assign NameStore ListLoad Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore ListComp Call AttributeLoad NameLoad attr Str comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str If CompareNotEq AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr orelse If CompareNotEq AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr BinOpAdd Str Call AttributeLoad Str attr NameLoad orelse Expr Call AttributeLoad NameLoad attr Str Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Return Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If AttributeLoad NameLoad attr body If AttributeLoad NameLoad attr body Assign NameStore Yield Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Assign NameStore NameLoad If BoolOpOr UnaryOpNot CompareEq NameLoad NameLoad UnaryOpNot CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr UnaryOpNot CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore NameLoad orelse Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad decorator_list AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If AttributeLoad NameLoad attr body If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Yield Call AttributeLoad NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad If UnaryOpNot CompareEq NameLoad AttributeLoad NameLoad attr body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign NameStore NameLoad orelse Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list AttributeLoad NameLoad attr
N/A N/A glob N/A imp N/A os N/A random N/A re N/A stat jinja2 Environment FileSystemLoader pappyproxy.pappy session pappyproxy.util PappyException load_reqlist twisted.internet defer gen_template_args_macro N/A N/A args N/A N/A N/A N/A N/A len args 0 N/A N/A reqids N/A args N/A 0 N/A reqs N/A N/A load_reqlist reqids N/A N/A reqs N/A N/A N/A N/A defer returnValue N/A macro_from_requests reqs N/A N/A defer inlineCallbacks gen_template_generator_noargs N/A N/A name N/A N/A f N/A N/A args N/A N/A N/A subs N/A N/A N/A subs N/A macro_name N/A Macro %d N/A N/A random randint 1 99999999 N/A N/A subs N/A short_name N/A N/A N/A MacroTemplate fill_template name subs N/A N/A f N/A Macro N/A object N/A N/A 
    A class representing a macro that can perform a series of requests and add
    data to storage.
     __init__ N/A N/A self filename N/A N/A N/A N/A self name N/A N/A self short_name None N/A N/A self file_name N/A N/A self filename N/A filename N/A N/A self source None N/A N/A self filename N/A N/A N/A N/A self load N/A __repr__ N/A N/A self N/A N/A N/A s N/A self name N/A names N/A N/A N/A hasattr N/A self source SHORT_NAME N/A N/A N/A N/A self source SHORT_NAME N/A N/A N/A N/A names append N/A N/A self source SHORT_NAME N/A N/A N/A names append N/A self file_name N/A s N/A  (%s) N/A N/A / join names N/A N/A <Macro %s> s N/A load N/A N/A self N/A N/A N/A N/A self filename N/A N/A match N/A N/A re findall .*macro_(.*).py$ N/A self filename N/A N/A self file_name N/A match N/A 0 N/A st N/A N/A os stat N/A self filename N/A N/A N/A st st_mode N/A stat S_IWOTH N/A N/A N/A PappyException N/A Refusing to load world-writable macro: %s N/A self filename N/A module_name N/A N/A N/A os path basename N/A N/A N/A N/A os path splitext N/A self filename N/A 0 N/A N/A self source N/A N/A imp load_source N/A %s module_name N/A self filename N/A N/A N/A hasattr N/A self source MACRO_NAME N/A N/A N/A PappyException N/A Macro in %s does not define MACRO_NAME N/A self filename N/A N/A self name N/A N/A self source MACRO_NAME N/A N/A N/A self name N/A N/A N/A PappyException N/A Macro in %s cannot have a blank name N/A self filename N/A N/A hasattr N/A self source SHORT_NAME N/A N/A N/A self short_name N/A N/A self source SHORT_NAME N/A N/A N/A self short_name None N/A N/A N/A self source None N/A execute N/A N/A self args N/A N/A N/A N/A self source N/A N/A N/A N/A N/A self source run_macro args N/A N/A InterceptMacro N/A object N/A N/A 
    A class representing a macro that modifies requests as they pass through the
    proxy
     __init__ N/A N/A self N/A N/A N/A N/A self name N/A N/A self short_name None N/A N/A self intercept_requests False N/A N/A self intercept_responses False N/A N/A self async_req False N/A N/A self async_rsp False N/A __repr__ N/A N/A self N/A N/A N/A N/A <InterceptingMacro (%s)> N/A self name N/A init N/A N/A self args N/A N/A N/A N/A mangle_request N/A N/A self request N/A N/A N/A request N/A mangle_response N/A N/A self request N/A N/A N/A N/A request response N/A async_mangle_request N/A N/A self request N/A N/A N/A N/A N/A defer returnValue request N/A N/A defer inlineCallbacks async_mangle_response N/A N/A self request N/A N/A N/A N/A N/A defer returnValue N/A request response N/A N/A defer inlineCallbacks N/A FileInterceptMacro N/A InterceptMacro N/A N/A 
    An intercepting macro that loads a macro from a file.
     __init__ N/A N/A self filename N/A N/A N/A N/A N/A InterceptMacro __init__ self N/A N/A self file_name N/A N/A self filename N/A filename N/A N/A self source None N/A N/A self filename N/A N/A N/A N/A self load N/A __repr__ N/A N/A self N/A N/A N/A s N/A self name N/A names N/A N/A N/A hasattr N/A self source SHORT_NAME N/A N/A N/A N/A self source SHORT_NAME N/A N/A N/A N/A names append N/A N/A self source SHORT_NAME N/A N/A N/A names append N/A self file_name N/A s N/A  (%s) N/A N/A / join names N/A N/A <InterceptingMacro %s> s N/A load N/A N/A self N/A N/A N/A N/A self filename N/A N/A match N/A N/A re findall .*int_(.*).py$ N/A self filename N/A N/A N/A len match 0 N/A N/A N/A self file_name N/A match N/A 0 N/A N/A N/A self file_name N/A self filename N/A st N/A N/A os stat N/A self filename N/A N/A N/A st st_mode N/A stat S_IWOTH N/A N/A N/A PappyException N/A Refusing to load world-writable macro: %s N/A self filename N/A module_name N/A N/A N/A os path basename N/A N/A N/A N/A os path splitext N/A self filename N/A 0 N/A N/A self source N/A N/A imp load_source N/A %s module_name N/A self filename N/A N/A self name N/A N/A self source MACRO_NAME N/A N/A N/A self name N/A N/A N/A PappyException N/A Macro in %s cannot have a blank name N/A self filename N/A N/A hasattr N/A self source SHORT_NAME N/A N/A N/A self short_name N/A N/A self source SHORT_NAME N/A N/A N/A self short_name None N/A N/A N/A hasattr N/A self source mangle_request N/A hasattr N/A self source async_mangle_request N/A N/A N/A PappyException N/A Intercepting macro in %s cannot define both mangle_request and async_mangle_request N/A self filename N/A N/A N/A hasattr N/A self source mangle_response N/A hasattr N/A self source async_mangle_response N/A N/A N/A PappyException N/A Intercepting macro in %s cannot define both mangle_response and async_mangle_response N/A self filename N/A N/A N/A self source None N/A N/A N/A self source N/A hasattr N/A self source mangle_request N/A N/A N/A self intercept_requests True N/A N/A self async_req False N/A N/A N/A N/A self source N/A hasattr N/A self source async_mangle_request N/A N/A N/A self intercept_requests True N/A N/A self async_req True N/A N/A N/A self intercept_requests True N/A N/A N/A self source N/A hasattr N/A self source mangle_response N/A N/A N/A self intercept_responses True N/A N/A self async_rsp False N/A N/A N/A N/A self source N/A hasattr N/A self source async_mangle_response N/A N/A N/A self intercept_responses True N/A N/A self async_rsp True N/A N/A N/A self intercept_responses False N/A init N/A N/A self args N/A N/A N/A N/A hasattr N/A self source init N/A N/A N/A N/A N/A self source init args N/A mangle_request N/A N/A self request N/A N/A N/A N/A hasattr N/A self source mangle_request N/A N/A req N/A N/A N/A self source mangle_request request N/A req N/A request N/A mangle_response N/A N/A self request N/A N/A N/A N/A hasattr N/A self source mangle_response N/A N/A rsp N/A N/A N/A self source mangle_response request N/A rsp N/A N/A request response N/A async_mangle_request N/A N/A self request N/A N/A N/A N/A hasattr N/A self source async_mangle_request N/A N/A req N/A N/A N/A N/A self source async_mangle_request request N/A N/A N/A defer returnValue req N/A N/A N/A defer returnValue request N/A N/A defer inlineCallbacks async_mangle_response N/A N/A self request N/A N/A N/A N/A hasattr N/A self source async_mangle_response N/A N/A rsp N/A N/A N/A N/A self source async_mangle_response request N/A N/A N/A defer returnValue rsp N/A N/A N/A defer returnValue N/A request response N/A N/A defer inlineCallbacks N/A MacroTemplate N/A object N/A N/A _template_data N/A macro intmacro modheader resubmit N/A macro.py.template Generic macro template [reqids] macro_{fname}.py gen_template_args_macro N/A intmacro.py.template Generic intercepting macro template int_{fname}.py N/A gen_template_generator_noargs intmacro N/A macro_header.py.template Modify a header in the request and the response if it exists. int_{fname}.py N/A gen_template_generator_noargs modheader N/A macro_resubmit.py.template Resubmit all in-context requests macro_{fname}.py N/A gen_template_generator_noargs resubmit fill_template N/A N/A cls template subs N/A N/A N/A loader N/A FileSystemLoader N/A N/A N/A session config pappy_dir /templates N/A env N/A Environment loader loader N/A template N/A N/A env get_template N/A N/A N/A cls _template_data N/A template N/A 0 N/A N/A N/A template render zip zip subs N/A classmethod fill_template_args N/A N/A cls template args N/A N/A N/A N/A ret N/A N/A N/A N/A cls _template_data N/A template N/A 4 args N/A N/A isinstance ret N/A defer Deferred N/A N/A ret N/A ret N/A N/A N/A defer returnValue ret N/A classmethod N/A defer inlineCallbacks template_filename N/A N/A cls template fname N/A N/A N/A N/A N/A N/A N/A N/A cls _template_data N/A template N/A 3 format fname fname N/A classmethod template_list N/A N/A cls N/A N/A N/A N/A k N/A N/A k v N/A N/A N/A cls _template_data iteritems N/A classmethod template_description N/A N/A cls template N/A N/A N/A N/A N/A N/A cls _template_data N/A template N/A 1 N/A classmethod template_argstring N/A N/A cls template N/A N/A N/A N/A N/A N/A cls _template_data N/A template N/A 2 N/A classmethod N/A load_macros N/A N/A loc N/A N/A N/A 
    Loads the macros stored in the location and returns a list of Macro objects
     N/A macro_files N/A N/A glob glob N/A loc /macro_*.py N/A macro_objs N/A N/A f macro_files N/A N/A N/A N/A N/A N/A macro_objs append N/A Macro f N/A N/A N/A PappyException N/A e N/A N/A N/A str e N/A int_macro_files N/A N/A glob glob N/A loc /int_*.py N/A int_macro_objs N/A N/A f int_macro_files N/A N/A N/A N/A N/A N/A int_macro_objs append N/A FileInterceptMacro f N/A N/A N/A PappyException N/A e N/A N/A N/A str e N/A N/A macro_objs int_macro_objs N/A req_obj_def N/A N/A req N/A N/A N/A lines N/A N/A N/A req full_request splitlines True N/A esclines N/A N/A N/A line encode string_escape N/A line lines N/A params N/A N/A N/A req is_ssl N/A N/A N/A N/A params append is_ssl=True N/A N/A N/A req port 443 N/A N/A N/A N/A params append N/A port=%d N/A req port N/A N/A N/A N/A req port 80 N/A N/A N/A N/A params append N/A port=%d N/A req port N/A N/A N/A host N/A req headers N/A N/A req host N/A N/A req headers N/A host N/A N/A N/A N/A params append N/A host=%d N/A req host N/A params N/A N/A req_params N/A ,  N/A N/A ,  join params N/A N/A req_params N/A ret Request (( N/A line esclines N/A N/A ret N/A '%s'
 line N/A ret ) N/A ret req_params N/A ret ) N/A ret N/A macro_from_requests N/A N/A reqs short_name long_name N/A N/A N/A subs N/A N/A long_name N/A N/A N/A subs N/A macro_name long_name N/A N/A N/A N/A random seed N/A N/A subs N/A macro_name N/A Macro %d N/A N/A random randint 1 99999999 N/A N/A subs N/A short_name short_name N/A req_lines N/A N/A req_params N/A N/A req reqs N/A N/A lines N/A N/A N/A req full_request splitlines True N/A esclines N/A N/A N/A line encode string_escape N/A line lines N/A N/A N/A req_lines append esclines N/A params N/A N/A N/A req is_ssl N/A N/A N/A N/A params append is_ssl=True N/A N/A N/A req port 443 N/A N/A N/A N/A params append N/A port=%d N/A req port N/A N/A N/A N/A req port 80 N/A N/A N/A N/A params append N/A port=%d N/A req port N/A params N/A N/A N/A N/A req_params append N/A ,  N/A N/A ,  join params N/A N/A N/A N/A req_params append N/A N/A subs N/A req_lines req_lines N/A N/A subs N/A req_params req_params N/A N/A N/A MacroTemplate fill_template macro subs N/A mangle_request N/A N/A request intmacros N/A N/A N/A 
    Mangle a request with a list of intercepting macros.
    Returns a tuple that contains the resulting request (with its unmangled
    value set if needed) and a bool that states whether the request was modified
    Returns (None, True) if the request was dropped.
    
    :rtype: (Request, Bool)
     N/A N/A intmacros N/A N/A N/A N/A defer returnValue N/A request False N/A cur_req N/A N/A request copy N/A N/A k macro N/A N/A intmacros iteritems N/A N/A N/A macro intercept_requests N/A N/A N/A macro async_req N/A N/A cur_req N/A N/A N/A macro async_mangle_request N/A N/A cur_req copy N/A N/A cur_req N/A N/A macro mangle_request N/A N/A cur_req copy N/A N/A cur_req None N/A N/A N/A N/A defer returnValue N/A None True N/A mangled False N/A N/A N/A N/A cur_req request N/A N/A N/A cur_req host N/A request host N/A N/A N/A cur_req port N/A request port N/A N/A N/A cur_req unmangled request N/A N/A N/A cur_req unmangled is_unmangled_version True N/A N/A request response N/A N/A N/A cur_req response N/A request response N/A N/A request response None N/A mangled True N/A N/A cur_req request N/A N/A N/A defer returnValue N/A cur_req mangled N/A N/A defer inlineCallbacks mangle_response N/A N/A request intmacros N/A N/A N/A 
    Mangle a request's response with a list of intercepting macros.
    Returns a bool stating whether the request's response was modified.
    Unmangled values will be updated as needed.
    
    :rtype: Bool
     N/A N/A intmacros N/A N/A N/A N/A defer returnValue False N/A old_rsp N/A request response N/A N/A request response N/A N/A N/A request response copy N/A N/A k macro N/A N/A intmacros iteritems N/A N/A N/A macro intercept_responses N/A N/A N/A macro async_rsp N/A N/A N/A request response N/A N/A N/A macro async_mangle_response request N/A N/A N/A request response N/A N/A macro mangle_response request N/A N/A N/A request response None N/A N/A N/A N/A defer returnValue True N/A mangled False N/A N/A N/A old_rsp N/A request response N/A N/A N/A N/A request response rspid old_rsp N/A N/A old_rsp rspid None N/A N/A N/A request response unmangled old_rsp N/A N/A N/A N/A request response unmangled is_unmangled_version True N/A mangled True N/A N/A N/A request response old_rsp N/A N/A N/A defer returnValue mangled N/A N/A defer inlineCallbacks