Module Import alias ImportFrom alias alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Assign SubscriptStore NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword NameLoad Assign SubscriptStore NameLoad Index Str Str Assign SubscriptStore NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Assign SubscriptStore NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str ListLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Assign SubscriptStore NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Delete SubscriptDel NameLoad Index Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str ListLoad ListLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Str Assign SubscriptStore NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Assign SubscriptStore NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Assign SubscriptStore NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareIn Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad ListLoad TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str keyword Str Assign NameStore SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad ListLoad TupleLoad Str Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str ListLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad ListLoad TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str keyword Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad ListLoad TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str keyword Num Expr Call AttributeLoad NameLoad attr ListLoad TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad Dict Str Str Str Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num For NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr CompareIn NameLoad TupleLoad Str Str decorator_list decorator_list
N/A N/A unittest pulsar.utils.httpurl Headers SimpleCookie TestHeaders N/A N/A unittest TestCase N/A testServerHeader N/A N/A self N/A N/A N/A h N/A Headers N/A N/A N/A self assertEqual N/A h kind server N/A N/A N/A self assertEqual N/A len h 0 N/A N/A h N/A content-type text/html N/A N/A N/A self assertEqual N/A len h 1 N/A testHeaderBytes N/A N/A self N/A N/A N/A h N/A Headers kind None N/A N/A h N/A content-type text/html N/A N/A h N/A server bla N/A N/A N/A self assertTrue N/A N/A N/A repr h startswith both  N/A N/A N/A self assertEqual N/A bytes h Server: bla
Content-Type: text/html

 N/A testClientHeader N/A N/A self N/A N/A N/A h N/A Headers kind client N/A N/A N/A self assertEqual N/A h kind client N/A N/A N/A self assertEqual N/A len h 0 N/A N/A h N/A content-type text/html N/A N/A N/A self assertEqual N/A N/A h get_all content-type N/A text/html N/A N/A N/A self assertEqual N/A len h 1 N/A N/A h N/A server bla N/A N/A N/A self assertEqual N/A len h 1 N/A N/A h N/A content-type N/A N/A N/A self assertEqual N/A len h 0 N/A N/A N/A self assertEqual N/A N/A h get_all content-type N/A N/A N/A test_non_standard_request_headers N/A N/A self N/A N/A N/A h N/A Headers kind client N/A N/A h N/A accept text/html N/A N/A N/A self assertEqual N/A len h 1 N/A N/A h N/A server bla N/A N/A N/A self assertEqual N/A len h 1 N/A N/A h N/A proxy-connection keep-alive N/A N/A N/A self assertEqual N/A len h 2 N/A headers N/A str h N/A N/A N/A self assertTrue N/A Proxy-Connection: headers N/A test_multiple_entry N/A N/A self N/A N/A N/A h N/A Headers N/A N/A Connection Keep-Alive N/A Accept-Encoding identity N/A Accept-Encoding deflate N/A Accept-Encoding compress N/A Accept-Encoding gzip kind client N/A accept N/A h N/A accept-encoding N/A N/A N/A self assertEqual accept identity, deflate, compress, gzip N/A test_init_int N/A N/A self N/A N/A N/A h N/A Headers kind 1 N/A N/A N/A self assertEqual N/A h kind server N/A N/A N/A self assertEqual N/A h kind_number 1 N/A h N/A Headers kind 0 N/A N/A N/A self assertEqual N/A h kind client N/A N/A N/A self assertEqual N/A h kind_number 0 N/A h N/A Headers kind 56 N/A N/A N/A self assertEqual N/A h kind both N/A N/A N/A self assertEqual N/A h kind_number 2 N/A test_remove_header N/A N/A self N/A N/A N/A h N/A Headers N/A N/A Content-type text/html N/A N/A N/A self assertEqual N/A len h 1 N/A N/A N/A self assertEqual N/A N/A h remove_header foo None N/A N/A N/A self assertEqual N/A N/A h remove_header content-length None N/A N/A N/A self assertEqual N/A N/A h remove_header content-type N/A text/html N/A N/A N/A self assertEqual N/A len h 0 N/A test_remove_header_value N/A N/A self N/A N/A N/A h N/A Headers N/A N/A Accept-encoding gzip N/A Accept-encoding deflate N/A Accept */* kind 2 N/A N/A N/A self assertEqual N/A len h 2 N/A N/A N/A self assertEqual N/A h N/A accept-encoding gzip, deflate N/A N/A N/A self assertEqual N/A N/A h remove_header accept-encoding x None N/A N/A N/A self assertEqual N/A h N/A accept-encoding gzip, deflate N/A N/A N/A self assertEqual N/A N/A h remove_header accept-encoding deflate deflate N/A N/A N/A self assertEqual N/A len h 2 N/A N/A N/A self assertEqual N/A h N/A accept-encoding gzip N/A test_override N/A N/A self N/A N/A N/A h N/A Headers N/A N/A Accept-encoding gzip N/A Accept-encoding deflate N/A Accept */* kind 2 N/A N/A N/A h override N/A N/A Accept-encoding gzip2 N/A Accept-encoding deflate2 N/A Accept text/html N/A Accept */*; q=0.8 N/A N/A N/A self assertEqual N/A len h 2 N/A N/A N/A self assertEqual N/A h N/A accept-encoding gzip2, deflate2 N/A N/A N/A self assertEqual N/A h N/A accept text/html, */*; q=0.8 N/A test_cookies N/A N/A self N/A N/A N/A h N/A Headers N/A cookies N/A SimpleCookie N/A bla pippo foo pluto N/A N/A N/A self assertEqual N/A len cookies 2 N/A c N/A N/A cookies values N/A N/A v N/A N/A c OutputString N/A N/A N/A h add_header Set-Cookie v N/A h N/A str h N/A N/A N/A self assertTrue N/A h N/A Set-Cookie: bla=foo
Set-Cookie: pippo=pluto

 Set-Cookie: pippo=pluto
Set-Cookie: bla=foo

 N/A N/A