Searched refs:test_http_method (Results 1 – 1 of 1) sorted by relevance
| /src/crypto/openssl/test/ |
| H A D | http_test.c | 155 static int test_http_method(int do_get, int do_txt, int suggested_status) in test_http_method() function 408 return test_http_method(1 /* GET */, 1, HTTP_STATUS_CODE_OK); in test_http_get_txt() 413 return test_http_method(2 /* GET with redirection */, 1, HTTP_STATUS_CODE_OK); in test_http_get_txt_redirected() 418 return test_http_method(1 /* GET */, 1, HTTP_STATUS_CODES_FATAL_ERROR); in test_http_get_txt_fatal_status() 423 return test_http_method(1 /* GET */, 1, HTTP_STATUS_CODES_NONFATAL_ERROR); in test_http_get_txt_error_status() 428 return test_http_method(0 /* POST */, 1, HTTP_STATUS_CODE_OK); in test_http_post_txt() 433 return test_http_method(1 /* GET */, 0, HTTP_STATUS_CODE_OK); in test_http_get_x509() 438 return test_http_method(2 /* GET with redirection */, 0, HTTP_STATUS_CODE_OK); in test_http_get_x509_redirected() 443 return test_http_method(0 /* POST */, 0, HTTP_STATUS_CODE_OK); in test_http_post_x509() 448 return test_http_method(0 /* POST */, 0, HTTP_STATUS_CODES_FATAL_ERROR); in test_http_post_x509_fatal_status() [all …]
|