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.c447 if((407 == k->httpcode) && !data->state.authproblem) { in CONNECT()
504 (401 == k->httpcode)) || in CONNECT()
506 (407 == k->httpcode))) { in CONNECT()
508 bool proxy = (k->httpcode == 407) ? TRUE : FALSE; in CONNECT()
521 if(k->httpcode/100 == 2) { in CONNECT()
526 k->httpcode); in CONNECT()
536 if(k->httpcode/100 == 2) { in CONNECT()
541 "CONNECT %03d response\n", k->httpcode); in CONNECT()
556 &k->httpcode)) { in CONNECT()
558 data->info.httpproxycode = k->httpcode; in CONNECT()
[all …]
Dhttp.c561 if(100 <= data->req.httpcode && 199 >= data->req.httpcode) in Curl_http_auth_act()
569 ((data->req.httpcode == 401) || in Curl_http_auth_act()
570 (conn->bits.authneg && data->req.httpcode < 300))) { in Curl_http_auth_act()
582 ((data->req.httpcode == 407) || in Curl_http_auth_act()
583 (conn->bits.authneg && data->req.httpcode < 300))) { in Curl_http_auth_act()
606 else if((data->req.httpcode < 300) && in Curl_http_auth_act()
623 data->req.httpcode); in Curl_http_auth_act()
1019 int httpcode; in http_should_fail() local
1025 httpcode = data->req.httpcode; in http_should_fail()
1037 if(httpcode < 400) in http_should_fail()
[all …]
Dgetinfo.c59 info->httpcode = 0; in Curl_initinfo()
152 *param_longp = data->info.httpcode; in getinfo_long()
Durldata.h594 int httpcode; /* error code from the 'HTTP/1.? XXX' or member
1075 int httpcode; /* Recent HTTP, FTP, RTSP or SMTP response code */ member
Dtransfer.c742 data->info.httpcode = 304; in readwrite_data()
1644 switch(data->info.httpcode) { in Curl_follow()
Dsmtp.c1015 data->info.httpcode = smtpcode; in smtp_statemach_act()
Dftp.c588 data->info.httpcode = code; in ftp_readresp()