Home
last modified time | relevance | path

Searched refs:httpcode (Results 1 – 9 of 9) sorted by relevance

/third_party/curl/tests/libtest/
Dlib1532.c31 long httpcode; in test() local
47 res = curl_easy_getinfo(curl, CURLINFO_RESPONSE_CODE, &httpcode); in test()
53 if(httpcode != 200) { in test()
55 __FILE__, __LINE__, httpcode); in test()
63 res = curl_easy_getinfo(curl, CURLINFO_RESPONSE_CODE, &httpcode); in test()
69 if(httpcode) { in test()
/third_party/curl/lib/
Dhttp.c584 if(100 <= data->req.httpcode && 199 >= data->req.httpcode) in Curl_http_auth_act()
592 ((data->req.httpcode == 401) || in Curl_http_auth_act()
593 (conn->bits.authneg && data->req.httpcode < 300))) { in Curl_http_auth_act()
606 ((data->req.httpcode == 407) || in Curl_http_auth_act()
607 (conn->bits.authneg && data->req.httpcode < 300))) { in Curl_http_auth_act()
631 else if((data->req.httpcode < 300) && in Curl_http_auth_act()
648 data->req.httpcode); in Curl_http_auth_act()
1101 int httpcode; in http_should_fail() local
1105 httpcode = data->req.httpcode; in http_should_fail()
1117 if(httpcode < 400) in http_should_fail()
[all …]
Dhttp_proxy.c507 if((407 == k->httpcode) && !data->state.authproblem) { in CONNECT()
563 (401 == k->httpcode)) || in CONNECT()
565 (407 == k->httpcode))) { in CONNECT()
567 bool proxy = (k->httpcode == 407) ? TRUE : FALSE; in CONNECT()
580 if(k->httpcode/100 == 2) { in CONNECT()
585 k->httpcode); in CONNECT()
595 if(k->httpcode/100 == 2) { in CONNECT()
600 "CONNECT %03d response", k->httpcode); in CONNECT()
614 &k->httpcode)) { in CONNECT()
616 data->info.httpproxycode = k->httpcode; in CONNECT()
[all …]
Dgetinfo.c59 info->httpcode = 0; in Curl_initinfo()
214 *param_longp = data->info.httpcode; in getinfo_long()
282 if(data->info.httpcode == 304) in getinfo_long()
Dc-hyper.c186 (((data->req.httpcode == 401) && in hyper_body_chunk()
188 ((data->req.httpcode == 407) && in hyper_body_chunk()
196 (data->req.httpcode/100 != 2)) { in hyper_body_chunk()
248 data->req.httpcode = http_status; in status_line()
277 data->req.httpcode = http_status; in status_line()
Dtransfer.c1636 (data->req.httpcode != 401) && (data->req.httpcode != 407) && in Curl_follow()
1741 switch(data->info.httpcode) { in Curl_follow()
Durldata.h663 int httpcode; /* error code from the 'HTTP/1.? XXX' or member
1139 int httpcode; /* Recent HTTP, FTP, RTSP or SMTP response code */ member
Dsmtp.c1199 data->info.httpcode = smtpcode; in smtp_statemachine()
Dftp.c582 data->info.httpcode = code; in ftp_readresp()