Lines Matching defs:self
38 def log_message(self, *args): argument
42 def read(self, n=None): argument
47 def __init__(self, test_object, request_handler): argument
52 def run(self): argument
62 def stop(self): argument
68 def setUp(self): argument
76 def tearDown(self): argument
82 def request(self, uri, method='GET', body=None, headers={}): argument
93 def do_TEST(self): argument
99 def do_KEEP(self): argument
105 def do_KEYERROR(self): argument
108 def do_NOTFOUND(self): argument
111 def do_EXPLAINERROR(self): argument
115 def do_CUSTOM(self): argument
121 def do_LATINONEHEADER(self): argument
129 def do_SEND_ERROR(self): argument
132 def do_HEAD(self): argument
135 def setUp(self): argument
140 def test_command(self): argument
145 def test_request_line_trimming(self): argument
152 def test_version_bogus(self): argument
159 def test_version_digits(self): argument
166 def test_version_none_get(self): argument
173 def test_version_none(self): argument
181 def test_version_invalid(self): argument
189 def test_send_blank(self): argument
196 def test_header_close(self): argument
203 def test_header_keep_alive(self): argument
211 def test_handler(self): argument
216 def test_return_header_keep_alive(self): argument
223 def test_internal_key_error(self): argument
228 def test_return_custom_status(self): argument
233 def test_return_explain_error(self): argument
239 def test_latin1_header(self): argument
247 def test_error_content_length(self): argument
256 def test_send_error(self): argument
273 def test_head_via_send_error(self): argument
300 def do_GET(self): argument
304 def do_ERROR(self): argument
307 def test_get(self): argument
318 def test_err(self): argument
335 def setUp(self): argument
356 def tearDown(self): argument
366 def check_status_and_reason(self, response, status, data=None): argument
397 def test_undecodable_filename(self): argument
420 def test_get_dir_redirect_location_domain_injection_bug(self): argument
469 def test_get(self): argument
508 def test_head(self): argument
517 def test_browser_cache(self): argument
535 def test_browser_cache_file_changed(self): argument
546 def test_browser_cache_with_If_None_Match_header(self): argument
555 def test_invalid_requests(self): argument
564 def test_last_modified(self): argument
573 def test_path_without_leading_slash(self): argument
589 def test_html_escape_filename(self): argument
668 def setUp(self): argument
744 def tearDown(self): argument
772 def test_url_collapse_path(self): argument
814 def test_headers_and_content(self): argument
820 def test_issue19435(self): argument
824 def test_post(self): argument
832 def test_invaliduri(self): argument
837 def test_authorization(self): argument
845 def test_no_leading_slash(self): argument
852 def test_os_environ_is_not_altered(self): argument
861 def test_urlquote_decoding_in_cgi_check(self): argument
867 def test_nested_cgi_path_issue21323(self): argument
873 def test_query_with_multiple_question_mark(self): argument
879 def test_query_with_continuous_slashes(self): argument
886 def test_cgi_path_in_sub_directories(self): argument
896 def test_accept(self): argument
916 def __init__(self, directory=None): argument
924 def do_GET(self): argument
931 def log_message(self, format, *args): argument
935 def handle_expect_100(self): argument
942 def __init__(self): argument
945 def write(self, data): argument
948 def getData(self): argument
952 def numWrites(self): argument
964 def setUp (self): argument
967 def send_typical_request(self, message): argument
976 def verify_get_called(self): argument
979 def verify_expected_headers(self, headers): argument
983 def verify_http_server_response(self, response): argument
987 def test_http_1_1(self): argument
999 def test_http_1_0(self): argument
1011 def test_http_0_9(self): argument
1017 def test_extra_space(self): argument
1027 def test_with_continue_1_0(self): argument
1040 def test_with_continue_1_1(self): argument
1055 def test_header_buffering_of_send_error(self): argument
1069 def test_header_buffering_of_send_response_only(self): argument
1083 def test_header_buffering_of_send_header(self): argument
1099 def test_header_unbuffered_when_continue(self): argument
1121 def test_with_continue_rejected(self): argument
1133 def test_request_length(self): argument
1141 def test_header_length(self): argument
1149 def test_too_many_headers(self): argument
1156 def test_html_escape_on_error(self): argument
1163 def test_close_connection(self): argument
1178 def test_date_time_string(self): argument
1193 def setUp(self): argument
1201 def test_query_arguments(self): argument
1223 def test_start_with_double_slash(self): argument
1238 def test_windows_colon(self): argument
1282 def test_all(self): argument
1296 def mock_server_class(self): argument
1310 def test_server_test_unspec(self, _): argument
1319 def test_server_test_localhost(self, _): argument
1340 def test_server_test_ipv6(self, _): argument
1347 def test_server_test_ipv4(self, _): argument