/curl/tests/http/ |
H A D | test_06_eyeballs.py | 51 r.check_response(count=1, http_status=200) 61 r.check_response(exitcode=7, http_status=None) 70 r.check_response(count=1, http_status=200) 80 r.check_response(count=1, http_status=200) 88 r.check_response(count=1, http_status=200) 99 r.check_response(count=1, http_status=0, exitcode=False) 110 r.check_response(count=1, http_status=None, exitcode=False)
|
H A D | test_15_tracing.py | 46 r.check_response(http_status=200) 57 r.check_response(http_status=200) 70 r.check_response(http_status=200) 83 r.check_response(http_status=200) 102 r.check_response(http_status=200)
|
H A D | test_10_proxy.py | 67 r.check_response(count=1, http_status=200) 81 r.check_response(count=1, http_status=200, 119 r.check_response(count=1, http_status=200) 131 r.check_response(count=1, http_status=200) 142 r.check_response(count=1, http_status=200, 159 r.check_response(count=1, http_status=200, 239 r.check_response(count=2, http_status=200) 262 r1.check_response(count=1, http_status=200) 271 r2.check_response(count=2, http_status=200) 287 r1.check_response(count=1, http_status=200) [all …]
|
H A D | test_01_basic.py | 49 r.check_response(http_status=200) 58 r.check_response(http_status=200) 67 r.check_response(http_status=200, protocol='HTTP/2') 76 r.check_response(http_status=200, protocol='HTTP/1.1') 85 r.check_response(http_status=200, protocol='HTTP/3') 97 r.check_stats(http_status=200, count=1, 113 r.check_stats(http_status=200, count=1, exitcode=0,
|
H A D | test_13_proxy_auth.py | 66 r.check_response(count=1, http_status=407) 76 r.check_response(count=1, http_status=200) 87 r.check_response(count=1, http_status=407) 99 r.check_response(count=1, http_status=200) 108 r.check_response(exitcode=56, http_status=None) 117 r.check_response(count=1, http_status=200) 133 r.check_response(exitcode=56, http_status=None) 151 r.check_response(count=1, http_status=200,
|
H A D | test_14_auth.py | 55 r.check_response(http_status=401) 67 r.check_response(http_status=200) 80 r.check_response(http_status=200) 97 r.check_response(http_status=401) 117 r.check_response(http_status=431)
|
H A D | test_12_reuse.py | 54 r.check_response(count=count, http_status=200) 76 r.check_response(count=count, http_status=200) 97 r.check_response(count=count, http_status=200) 119 r.check_response(count=count, http_status=200) 141 r.check_response(count=count, http_status=200)
|
H A D | test_07_upload.py | 67 r.check_stats(count=1, http_status=200, exitcode=0) 82 r.check_stats(count=1, http_status=200, exitcode=0) 135 r.check_response(count=count, http_status=200) 260 r.check_response(count=count, http_status=200) 295 r.check_response(count=count, http_status=200) 315 r.check_response(count=count, http_status=200) 406 r.check_response(count=1, http_status=200) 427 r.check_response(count=1, http_status=200) 444 r.check_response(count=1, http_status=200) 623 r.check_response(count=count, http_status=200) [all …]
|
H A D | test_02_download.py | 68 r.check_response(http_status=200) 78 r.check_response(http_status=200, count=2) 105 r.check_response(http_status=200, count=count) 125 r.check_response(http_status=200, count=count) 161 r.check_response(http_status=200, count=count) 178 r.check_response(count=count, http_status=200) 191 r.check_response(count=count, http_status=200) 204 r.check_response(count=count, http_status=200) 217 r.check_response(count=count, http_status=200) 234 r.check_response(count=count, http_status=200) [all …]
|
H A D | test_31_vsftpds.py | 85 r.check_stats(count=1, http_status=226) 99 r.check_stats(count=count, http_status=226) 111 r.check_stats(count=count, http_status=226) 125 r.check_stats(count=count, http_status=226) 139 r.check_stats(count=count, http_status=226) 154 r.check_stats(count=count, http_status=226) 170 r.check_stats(count=count, http_status=226) 189 r.check_stats(count=count, http_status=226) 206 r.check_stats(count=count, http_status=226) 220 r.check_stats(count=count, http_status=226) [all …]
|
H A D | test_30_vsftpd.py | 78 r.check_stats(count=1, http_status=226) 92 r.check_stats(count=count, http_status=226) 104 r.check_stats(count=count, http_status=226) 118 r.check_stats(count=count, http_status=226) 132 r.check_stats(count=count, http_status=226) 147 r.check_stats(count=count, http_status=226) 162 r.check_stats(count=count, http_status=226) 175 r.check_stats(count=count, http_status=226) 189 r.check_stats(count=count, http_status=226)
|
H A D | test_19_shutdown.py | 64 r.check_response(http_status=200, count=2) 82 r.check_response(http_status=200, count=2) 99 r.check_response(http_status=200, count=count) 146 r.check_response(http_status=200, count=count) 171 r.check_response(http_status=200, count=2)
|
H A D | test_04_stuttered.py | 60 r.check_response(count=1, http_status=200) 79 r.check_response(count=warmups+count, http_status=200) 101 r.check_response(count=warmups+count, http_status=200) 123 r.check_response(count=warmups+count, http_status=200)
|
H A D | test_16_info.py | 62 r.check_stats(count=count, http_status=200, exitcode=0, 79 r.check_stats(count=count, http_status=200, exitcode=0, 98 r.check_response(count=count, http_status=200) 99 r.check_stats(count=count, http_status=200, exitcode=0, 112 r.check_stats(count=count, http_status=200, exitcode=0,
|
H A D | test_08_caddy.py | 80 r.check_response(count=1, http_status=200) 94 r.check_response(count=count, http_status=200, connect_count=1) 110 r.check_response(count=count, http_status=200) 131 r.check_response(count=count, http_status=200, connect_count=1) 147 r.check_response(count=count, http_status=200, connect_count=1) 168 r.check_response(count=count, http_status=200) 189 r.check_stats(count=count, http_status=200, exitcode=0) 208 r.check_response(count=count, http_status=200)
|
H A D | test_18_methods.py | 58 r.check_stats(count=count, http_status=204, exitcode=0) 71 r.check_stats(count=count, http_status=204, exitcode=0)
|
H A D | test_11_unix.py | 109 r.check_response(count=1, http_status=200) 120 r.check_response(exitcode=35, http_status=None) 132 r.check_response(exitcode=96, http_status=None)
|
H A D | test_03_goaway.py | 69 r.check_response(count=count, http_status=200) 107 r.check_response(count=count, http_status=200, connect_count=2) 138 r.check_response(count=count, http_status=200, connect_count=2)
|
H A D | test_05_errors.py | 101 r.check_response(http_status=200, count=1) 106 r.check_response(http_status=200, count=1) 137 r.check_response(http_status=200, count=count)
|
H A D | test_20_websockets.py | 85 r.check_response(http_status=426)
|
H A D | test_17_ssl_use.py | 88 r.check_response(count=count, http_status=200)
|
/curl/tests/libtest/ |
H A D | lib1485.c | 35 int http_status; member 60 st->http_status = (int)httpcode; in header_callback() 61 if(st->http_status >= 200 && st->http_status < 300) { in header_callback()
|
/curl/lib/ |
H A D | c-hyper.c | 263 uint16_t http_status, in status_line() argument 276 data->req.httpcode = http_status; in status_line() 281 data->info.httpproxycode = http_status; in status_line() 296 (int)http_status, in status_line() 341 uint16_t http_status; in Curl_hyper_stream() local 448 http_status = hyper_response_status(resp); in Curl_hyper_stream() 453 if(http_status == 417 && Curl_http_exp100_is_selected(data)) { in Curl_hyper_stream() 484 (100 <= http_status && 199 >= http_status) ? k->headerbytecount : 0; in Curl_hyper_stream() 487 if(http_status == 101) { in Curl_hyper_stream() 782 uint16_t http_status; in http1xx_cb() local [all …]
|
/curl/tests/http/testenv/mod_curltest/ |
H A D | mod_curltest.c | 335 int http_status = 200; in curltest_tweak_handler() local 343 http_status = 204; in curltest_tweak_handler() 359 http_status = (int)apr_atoi64(val); in curltest_tweak_handler() 360 if(http_status > 0) { in curltest_tweak_handler() 441 r->status = http_status; in curltest_tweak_handler() 517 http_status = ap_map_http_request_error(rv, HTTP_BAD_REQUEST); in curltest_tweak_handler() 518 b = ap_bucket_error_create(http_status, NULL, r->pool, c->bucket_alloc); in curltest_tweak_handler() 521 http_status); in curltest_tweak_handler()
|
/curl/tests/http/testenv/ |
H A D | curl.py | 329 def check_response(self, http_status: Optional[int] = 200, 351 if http_status is not None: 356 assert x['http_code'] == http_status, \ 361 assert x['status'] == http_status, \ 388 def check_stats(self, count: int, http_status: Optional[int] = None, 396 if http_status is not None: 400 assert x['http_code'] == http_status, \
|