Home
last modified time | relevance | path

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

/curl/tests/libtest/
H A 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()
H A 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()
H A Dlib1485.c50 long httpcode = 0; in header_callback() local
52 result = curl_easy_getinfo(st->easy, CURLINFO_RESPONSE_CODE, &httpcode); in header_callback()
54 httpcode, result); in header_callback()
55 if(httpcode < 100 || httpcode >= 1000) { in header_callback()
57 httpcode, result); in header_callback()
60 st->http_status = (int)httpcode; in header_callback()
/curl/lib/
H A Dhttp.c500 if(100 <= data->req.httpcode && data->req.httpcode <= 199) in Curl_http_auth_act()
1022 if(httpcode < 400) in http_should_fail()
1030 httpcode == 416) in http_should_fail()
1037 if((httpcode != 401) && (httpcode != 407)) in http_should_fail()
1043 DEBUGASSERT((httpcode == 401) || (httpcode == 407)); in http_should_fail()
2970 if((k->httpcode >= 300 && k->httpcode < 400) && in Curl_http_header()
3212 data->info.httpcode = k->httpcode; in Curl_http_statusline()
3247 k->http_bodyless = k->httpcode >= 100 && k->httpcode < 200; in Curl_http_statusline()
3248 switch(k->httpcode) { in Curl_http_statusline()
3408 if(k->httpcode < 100) { in http_on_response()
[all …]
H A Dcf-h1-proxy.c181 data->info.httpcode = 0; /* clear it as it might've been used for the in h1_tunnel_go_state()
298 (401 == k->httpcode)) || in on_resp_header()
300 (407 == k->httpcode))) { in on_resp_header()
302 bool proxy = (k->httpcode == 407) ? TRUE : FALSE; in on_resp_header()
316 if(k->httpcode/100 == 2) { in on_resp_header()
321 k->httpcode); in on_resp_header()
332 if(k->httpcode/100 == 2) { in on_resp_header()
337 "CONNECT %03d response", k->httpcode); in on_resp_header()
358 data->info.httpproxycode = k->httpcode = (header[9] - '0') * 100 + in on_resp_header()
485 if((407 == k->httpcode) && !data->state.authproblem) { in recv_CONNECT_resp()
[all …]
H A Drequest.h85 int httpcode; /* error code from the 'HTTP/1.? XXX' or member
H A Dc-hyper.c185 if(data->req.httpcode/100 == 1) in hyper_each_header()
213 (((data->req.httpcode == 401) && in hyper_body_chunk()
215 ((data->req.httpcode == 407) && in hyper_body_chunk()
223 if(data->req.httpcode < 400) { in hyper_body_chunk()
234 if(data->state.hconnect && (data->req.httpcode/100 != 2) && in hyper_body_chunk()
276 data->req.httpcode = http_status; in status_line()
494 failf(data, "Expected 101, got %u", k->httpcode); in Curl_hyper_stream()
H A Dgetinfo.c62 info->httpcode = 0; in Curl_initinfo()
233 *param_longp = data->info.httpcode; in getinfo_long()
303 if(data->info.httpcode == 304) in getinfo_long()
H A Dtransfer.c781 (data->req.httpcode != 401) && (data->req.httpcode != 407) && in Curl_follow()
891 switch(data->info.httpcode) { in Curl_follow()
H A Drequest.c139 req->httpcode = 0; in Curl_req_hard_reset()
H A Dopenldap.c762 data->info.httpcode = code; in oldap_connecting()
1025 data->info.httpcode = code; in oldap_recv()
H A Durldata.h1019 int httpcode; /* Recent HTTP, FTP, RTSP or SMTP response code */ member
H A Dsmtp.c1221 data->info.httpcode = smtpcode; in smtp_statemachine()
H A Dftp.c773 data->info.httpcode = code; in ftp_readresp()

Completed in 74 milliseconds