Searched refs:test_http_method (Results 1 – 1 of 1) sorted by relevance
/test/ |
A D | http_test.c | 150 static int test_http_method(int do_get, int do_txt, int suggested_status) in test_http_method() function 404 return test_http_method(1 /* GET */, 1, HTTP_STATUS_CODE_OK); in test_http_get_txt() 409 return test_http_method(2 /* GET with redirection */, 1, HTTP_STATUS_CODE_OK); in test_http_get_txt_redirected() 414 return test_http_method(1 /* GET */, 1, HTTP_STATUS_CODES_FATAL_ERROR); in test_http_get_txt_fatal_status() 419 return test_http_method(1 /* GET */, 1, HTTP_STATUS_CODES_NONFATAL_ERROR); in test_http_get_txt_error_status() 424 return test_http_method(0 /* POST */, 1, HTTP_STATUS_CODE_OK); in test_http_post_txt() 429 return test_http_method(1 /* GET */, 0, HTTP_STATUS_CODE_OK); in test_http_get_x509() 434 return test_http_method(2 /* GET with redirection */, 0, HTTP_STATUS_CODE_OK); in test_http_get_x509_redirected() 439 return test_http_method(0 /* POST */, 0, HTTP_STATUS_CODE_OK); in test_http_post_x509() 444 return test_http_method(0 /* POST */, 0, HTTP_STATUS_CODES_FATAL_ERROR); in test_http_post_x509_fatal_status() [all …]
|
Completed in 5 milliseconds