Lines Matching refs:http_code
68 static bool send_head_request(const char *url, struct payload_buffer *response_buf, long *http_code) in send_head_request() argument
76 *http_code = 0; in send_head_request()
88 status = curl_easy_getinfo(curl_session, CURLINFO_RESPONSE_CODE, http_code); in send_head_request()
89 is_success = (status == CURLE_OK) && (*http_code >= 200) && in send_head_request()
90 (*http_code < 300); in send_head_request()
126 long http_code = 0; in send_put_request() local
129 curl_easy_getinfo(curl_session, CURLINFO_RESPONSE_CODE, &http_code); in send_put_request()
130 is_success = (status == CURLE_OK) && (http_code >= 200) && in send_put_request()
131 (http_code < 300); in send_put_request()
199 bool http_caller_probe(const char *url, long *http_code) in http_caller_probe() argument
208 bool is_reached = send_head_request(url, &response_buf, http_code); in http_caller_probe()