Home
last modified time | relevance | path

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

/third_party/curl/tests/libtest/
Dlib1597.c48 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()
Dlib1532.c33 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()
/third_party/curl/lib/
Dhttp.c652 if(100 <= data->req.httpcode && data->req.httpcode <= 199) in Curl_http_auth_act()
660 ((data->req.httpcode == 401) || in Curl_http_auth_act()
661 (conn->bits.authneg && data->req.httpcode < 300))) { in Curl_http_auth_act()
674 ((data->req.httpcode == 407) || in Curl_http_auth_act()
675 (conn->bits.authneg && data->req.httpcode < 300))) { in Curl_http_auth_act()
699 else if((data->req.httpcode < 300) && in Curl_http_auth_act()
716 data->req.httpcode); in Curl_http_auth_act()
1168 int httpcode; in http_should_fail() local
1172 httpcode = data->req.httpcode; in http_should_fail()
1184 if(httpcode < 400) in http_should_fail()
[all …]
Dcf-h1-proxy.c194 data->info.httpcode = 0; /* clear it as it might've been used for the in h1_tunnel_go_state()
301 (401 == k->httpcode)) || in on_resp_header()
303 (407 == k->httpcode))) { in on_resp_header()
305 bool proxy = (k->httpcode == 407) ? TRUE : FALSE; in on_resp_header()
319 if(k->httpcode/100 == 2) { in on_resp_header()
324 k->httpcode); in on_resp_header()
335 if(k->httpcode/100 == 2) { in on_resp_header()
340 "CONNECT %03d response", k->httpcode); in on_resp_header()
361 data->info.httpproxycode = k->httpcode = (header[9] - '0') * 100 + in on_resp_header()
492 if((407 == k->httpcode) && !data->state.authproblem) { in recv_CONNECT_resp()
[all …]
Dc-hyper.c179 if(data->req.httpcode/100 == 1) in hyper_each_header()
209 (((data->req.httpcode == 401) && in hyper_body_chunk()
211 ((data->req.httpcode == 407) && in hyper_body_chunk()
220 if(data->req.httpcode < 400) { in hyper_body_chunk()
231 if(data->state.hconnect && (data->req.httpcode/100 != 2) && in hyper_body_chunk()
284 data->req.httpcode = http_status; in status_line()
511 failf(data, "Expected 101, got %u", k->httpcode); in Curl_hyper_stream()
Dgetinfo.c61 info->httpcode = 0; in Curl_initinfo()
230 *param_longp = data->info.httpcode; in getinfo_long()
298 if(data->info.httpcode == 304) in getinfo_long()
Dtransfer.c1573 (data->req.httpcode != 401) && (data->req.httpcode != 407) && in Curl_follow()
1683 switch(data->info.httpcode) { in Curl_follow()
Durldata.h664 int httpcode; /* error code from the 'HTTP/1.? XXX' or member
1115 int httpcode; /* Recent HTTP, FTP, RTSP or SMTP response code */ member
Dopenldap.c755 data->info.httpcode = code; in oldap_connecting()
1012 data->info.httpcode = code; in oldap_recv()
Dsmtp.c1223 data->info.httpcode = smtpcode; in smtp_statemachine()
Dftp.c577 data->info.httpcode = code; in ftp_readresp()