Module Expr Str Import alias Import alias ImportFrom alias alias alias alias alias alias alias alias alias alias alias ImportFrom alias alias alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str keyword Dict Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Assign NameStore Call NameLoad keyword Num Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Assign NameStore Call NameLoad keyword Num keyword NameLoad Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Assign NameStore Call NameLoad keyword Num keyword NameLoad Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Assign NameStore Call NameLoad keyword Num keyword NameLoad Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Assign NameStore Call NameLoad keyword Num keyword NameLoad keyword NameLoad Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Str Assign NameStore BinOpAdd Call NameLoad NameLoad Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad BinOpAdd NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Str Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad Str Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Str Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call NameLoad ListLoad TupleLoad Str Str TupleLoad Str TupleLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Slice Num NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice Num Num Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Dict Str Str NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad Dict Str Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num decorator_list decorator_list
N/A N/A tests the httpurl stand-alone script. N/A time N/A unittest pulsar.utils.httpurl Headers CacheControl urlquote unquote_unreserved requote_uri remove_double_slash appendslash capfirst encode_multipart_formdata http_date cookiejar_from_dict pulsar.apps.http Auth HTTPBasicAuth HTTPDigestAuth TestAuth N/A N/A unittest TestCase N/A test_auth N/A N/A self N/A N/A N/A auth N/A Auth N/A N/A N/A self assertRaises NotImplementedError auth None N/A N/A N/A self assertEqual N/A str auth N/A repr auth N/A test_basic_auth N/A N/A self N/A N/A N/A auth N/A HTTPBasicAuth bla foo N/A N/A N/A self assertEqual N/A str auth Basic: bla N/A test_digest_auth N/A N/A self N/A N/A N/A auth N/A HTTPDigestAuth bla options N/A realm fake realm N/A N/A N/A self assertEqual N/A auth type digest N/A N/A N/A self assertEqual N/A auth username bla N/A N/A N/A self assertEqual N/A auth password None N/A N/A N/A self assertEqual N/A N/A auth options N/A realm fake realm N/A test_CacheControl N/A N/A self N/A N/A N/A headers N/A Headers N/A c N/A CacheControl N/A N/A N/A self assertFalse N/A c private N/A N/A N/A self assertFalse N/A c maxage N/A N/A c headers N/A N/A N/A self assertEqual N/A headers N/A cache-control no-cache N/A c N/A CacheControl maxage 3600 N/A N/A c headers N/A N/A N/A self assertEqual N/A headers N/A cache-control max-age=3600, public N/A c N/A CacheControl maxage 3600 private True N/A N/A c headers N/A N/A N/A self assertEqual N/A headers N/A cache-control max-age=3600, private N/A c N/A CacheControl maxage 3600 must_revalidate True N/A N/A c headers N/A N/A N/A self assertEqual N/A headers N/A cache-control max-age=3600, public, must-revalidate N/A c N/A CacheControl maxage 3600 proxy_revalidate True N/A N/A c headers N/A N/A N/A self assertEqual N/A headers N/A cache-control max-age=3600, public, proxy-revalidate N/A c N/A CacheControl maxage 3600 proxy_revalidate True nostore True N/A N/A c headers N/A N/A N/A self assertEqual N/A headers N/A cache-control no-store, no-cache, must-revalidate, max-age=0 N/A N/A TestTools N/A N/A unittest TestCase N/A test_quote_unreserved N/A N/A self N/A N/A N/A Test a string of unreserved characters N/A s a~b_(c-d). N/A qs N/A urlquote s N/A N/A N/A self assertTrue N/A % qs N/A uqs N/A unquote_unreserved qs N/A N/A N/A self assertEqual uqs s N/A N/A N/A self assertEqual N/A requote_uri s s N/A N/A N/A self assertEqual N/A requote_uri qs s N/A test_quote_unreserved_percent N/A N/A self N/A N/A N/A s a=3.5%;b=2% N/A qs N/A urlquote s N/A N/A N/A self assertTrue N/A % qs N/A uqs N/A unquote_unreserved qs N/A N/A N/A self assertNotEqual uqs s N/A s a~b_(c-d). N/A qs N/A N/A urlquote s %f N/A uqs N/A unquote_unreserved qs N/A N/A N/A self assertEqual uqs N/A s %f N/A test_remove_double_slash N/A N/A self N/A N/A N/A r remove_double_slash N/A N/A N/A self assertEqual N/A r /bla//foo/ /bla/foo/ N/A N/A N/A self assertEqual N/A r /bla/////////foo////////// /bla/foo/ N/A N/A N/A self assertEqual N/A r /bla/foo/ /bla/foo/ N/A test_appendslash N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A appendslash bla bla/ N/A N/A N/A self assertEqual N/A appendslash bla/ bla/ N/A test_capfirst N/A N/A self N/A N/A N/A c capfirst N/A N/A N/A self assertEqual N/A c blA Bla N/A N/A N/A self assertEqual N/A c N/A N/A N/A self assertEqual N/A c bOlA Bola N/A test_encode_multipart_formdata N/A N/A self N/A N/A N/A N/A data ct N/A encode_multipart_formdata N/A N/A bla foo N/A foo N/A pippo pluto N/A idx N/A N/A data find N/A boundary N/A N/A N/A data N/A 2 idx decode utf-8 N/A N/A N/A self assertEqual ct N/A multipart/form-data; boundary=%s boundary N/A test_http_date N/A N/A self N/A N/A N/A now N/A N/A time time N/A fmt N/A http_date now N/A N/A N/A self assertTrue N/A N/A fmt endswith  GMT N/A N/A N/A self assertEqual N/A fmt N/A 3 5 ,  N/A test_cookiejar_from_dict N/A N/A self N/A N/A N/A j N/A cookiejar_from_dict N/A bla foo None N/A N/A N/A self assertEqual N/A len j 1 N/A N/A N/A self assertEqual j N/A cookiejar_from_dict None j N/A j2 N/A cookiejar_from_dict N/A pippo pluto None j N/A N/A N/A self assertEqual N/A len j2 2 N/A N/A