Searched refs:httpcode (Results 1 – 14 of 14) sorted by relevance
/curl/tests/libtest/ |
H A D | lib1532.c | 33 long httpcode; in test() local 49 res = curl_easy_getinfo(curl, CURLINFO_RESPONSE_CODE, &httpcode); in test() 55 if(httpcode != 200) { in test() 57 __FILE__, __LINE__, httpcode); in test() 65 res = curl_easy_getinfo(curl, CURLINFO_RESPONSE_CODE, &httpcode); in test() 71 if(httpcode) { in test()
|
H A D | lib1597.c | 48 static CURLcode httpcode = CURLE_UNSUPPORTED_PROTOCOL; in test() local 56 {"http", &httpcode}, in test() 57 {"http,", &httpcode}, in test() 60 {"http,http", &httpcode}, in test() 61 {"HTTP,HTTP", &httpcode}, in test() 62 {",HTTP,HTTP", &httpcode}, in test() 93 httpcode = CURLE_OK; in test()
|
H A D | lib1485.c | 50 long httpcode = 0; in header_callback() local 52 result = curl_easy_getinfo(st->easy, CURLINFO_RESPONSE_CODE, &httpcode); in header_callback() 54 httpcode, result); in header_callback() 55 if(httpcode < 100 || httpcode >= 1000) { in header_callback() 57 httpcode, result); in header_callback() 60 st->http_status = (int)httpcode; in header_callback()
|
/curl/lib/ |
H A D | http.c | 500 if(100 <= data->req.httpcode && data->req.httpcode <= 199) in Curl_http_auth_act() 1022 if(httpcode < 400) in http_should_fail() 1030 httpcode == 416) in http_should_fail() 1037 if((httpcode != 401) && (httpcode != 407)) in http_should_fail() 1043 DEBUGASSERT((httpcode == 401) || (httpcode == 407)); in http_should_fail() 2969 if((k->httpcode >= 300 && k->httpcode < 400) && in Curl_http_header() 3210 data->info.httpcode = k->httpcode; in Curl_http_statusline() 3245 k->http_bodyless = k->httpcode >= 100 && k->httpcode < 200; in Curl_http_statusline() 3246 switch(k->httpcode) { in Curl_http_statusline() 3406 if(k->httpcode < 100) { in http_on_response() [all …]
|
H A D | cf-h1-proxy.c | 181 data->info.httpcode = 0; /* clear it as it might've been used for the in h1_tunnel_go_state() 298 (401 == k->httpcode)) || in on_resp_header() 300 (407 == k->httpcode))) { in on_resp_header() 302 bool proxy = (k->httpcode == 407); in on_resp_header() 316 if(k->httpcode/100 == 2) { in on_resp_header() 321 k->httpcode); in on_resp_header() 332 if(k->httpcode/100 == 2) { in on_resp_header() 337 "CONNECT %03d response", k->httpcode); in on_resp_header() 358 data->info.httpproxycode = k->httpcode = (header[9] - '0') * 100 + in on_resp_header() 485 if((407 == k->httpcode) && !data->state.authproblem) { in recv_CONNECT_resp() [all …]
|
H A D | request.h | 85 int httpcode; /* error code from the 'HTTP/1.? XXX' or member
|
H A D | c-hyper.c | 185 if(data->req.httpcode/100 == 1) in hyper_each_header() 213 (((data->req.httpcode == 401) && in hyper_body_chunk() 215 ((data->req.httpcode == 407) && in hyper_body_chunk() 223 if(data->req.httpcode < 400) { in hyper_body_chunk() 234 if(data->state.hconnect && (data->req.httpcode/100 != 2) && in hyper_body_chunk() 276 data->req.httpcode = http_status; in status_line() 494 failf(data, "Expected 101, got %u", k->httpcode); in Curl_hyper_stream()
|
H A D | getinfo.c | 62 info->httpcode = 0; in Curl_initinfo() 233 *param_longp = data->info.httpcode; in getinfo_long() 303 if(data->info.httpcode == 304) in getinfo_long()
|
H A D | request.c | 139 req->httpcode = 0; in Curl_req_hard_reset()
|
H A D | openldap.c | 747 data->info.httpcode = code; in oldap_connecting() 1010 data->info.httpcode = code; in oldap_recv()
|
H A D | urldata.h | 1021 int httpcode; /* Recent HTTP, FTP, RTSP or SMTP response code */ member
|
H A D | multi.c | 1908 (data->req.httpcode != 401) && (data->req.httpcode != 407) && 2018 switch(data->info.httpcode) {
|
H A D | smtp.c | 1220 data->info.httpcode = smtpcode; in smtp_statemachine()
|
H A D | ftp.c | 588 data->info.httpcode = code; in ftp_readresp()
|
Completed in 64 milliseconds