Home
last modified time | relevance | path

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

/external/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 != 0) { in test()
/external/curl/lib/
Dhttp_proxy.c437 if((407 == k->httpcode) && !data->state.authproblem) { in CONNECT()
490 (401 == k->httpcode)) || in CONNECT()
492 (407 == k->httpcode))) { in CONNECT()
494 bool proxy = (k->httpcode == 407) ? TRUE : FALSE; in CONNECT()
507 if(k->httpcode/100 == 2) { in CONNECT()
512 k->httpcode); in CONNECT()
522 if(k->httpcode/100 == 2) { in CONNECT()
527 "CONNECT %03d response\n", k->httpcode); in CONNECT()
541 &k->httpcode)) { in CONNECT()
543 data->info.httpproxycode = k->httpcode; in CONNECT()
[all …]
Dhttp.c570 if(100 <= data->req.httpcode && 199 >= data->req.httpcode) in Curl_http_auth_act()
578 ((data->req.httpcode == 401) || in Curl_http_auth_act()
579 (conn->bits.authneg && data->req.httpcode < 300))) { in Curl_http_auth_act()
592 ((data->req.httpcode == 407) || in Curl_http_auth_act()
593 (conn->bits.authneg && data->req.httpcode < 300))) { in Curl_http_auth_act()
617 else if((data->req.httpcode < 300) && in Curl_http_auth_act()
634 data->req.httpcode); in Curl_http_auth_act()
1039 int httpcode; in http_should_fail() local
1045 httpcode = data->req.httpcode; in http_should_fail()
1057 if(httpcode < 400) in http_should_fail()
[all …]
Dgetinfo.c59 info->httpcode = 0; in Curl_initinfo()
208 *param_longp = data->info.httpcode; in getinfo_long()
276 if(data->info.httpcode == 304) in getinfo_long()
Durldata.h621 int httpcode; /* error code from the 'HTTP/1.? XXX' or member
1105 int httpcode; /* Recent HTTP, FTP, RTSP or SMTP response code */ member
Dtransfer.c758 data->info.httpcode = 304; in readwrite_data()
1662 switch(data->info.httpcode) { in Curl_follow()
Dsmtp.c1186 data->info.httpcode = smtpcode; in smtp_statemach_act()
Dftp.c571 data->info.httpcode = code; in ftp_readresp()