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.c482 if(100 <= data->req.httpcode && 199 >= data->req.httpcode) in Curl_http_auth_act()
490 ((data->req.httpcode == 401) || in Curl_http_auth_act()
491 (conn->bits.authneg && data->req.httpcode < 300))) { in Curl_http_auth_act()
497 ((data->req.httpcode == 407) || in Curl_http_auth_act()
498 (conn->bits.authneg && data->req.httpcode < 300))) { in Curl_http_auth_act()
521 else if((data->req.httpcode < 300) && in Curl_http_auth_act()
538 data->req.httpcode); in Curl_http_auth_act()
911 int httpcode; in http_should_fail() local
917 httpcode = data->req.httpcode; in http_should_fail()
929 if(httpcode < 400) in http_should_fail()
[all …]
Dhttp_proxy.c447 if((407 == k->httpcode) && !data->state.authproblem) { in CONNECT()
502 (401 == k->httpcode)) || in CONNECT()
504 (407 == k->httpcode))) { in CONNECT()
506 bool proxy = (k->httpcode == 407) ? TRUE : FALSE; in CONNECT()
519 if(k->httpcode/100 == 2) { in CONNECT()
524 k->httpcode); in CONNECT()
534 if(k->httpcode/100 == 2) { in CONNECT()
539 "CONNECT %03d response\n", k->httpcode); in CONNECT()
554 &k->httpcode)) { in CONNECT()
556 data->info.httpproxycode = k->httpcode; in CONNECT()
[all …]
Dgetinfo.c59 info->httpcode = 0; in Curl_initinfo()
153 *param_longp = data->info.httpcode; in getinfo_long()
Durldata.h543 int httpcode; /* error code from the 'HTTP/1.? XXX' or member
1024 int httpcode; /* Recent HTTP, FTP, RTSP or SMTP response code */ member
Dtransfer.c637 data->info.httpcode = 304; in readwrite_data()
1814 switch(data->info.httpcode) { in Curl_follow()
Dsmtp.c1012 data->info.httpcode = smtpcode; in smtp_statemach_act()
Dftp.c596 data->info.httpcode = code; in ftp_readresp()