Home
last modified time | relevance | path

Searched refs:httpcode (Results 1 – 12 of 12) 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 Dcf-h1-proxy.c179 data->info.httpcode = 0; /* clear it as it might've been used for the in h1_tunnel_go_state()
292 (401 == k->httpcode)) || in on_resp_header()
294 (407 == k->httpcode))) { in on_resp_header()
296 bool proxy = (k->httpcode == 407); in on_resp_header()
310 if(k->httpcode/100 == 2) { in on_resp_header()
315 k->httpcode); in on_resp_header()
326 if(k->httpcode/100 == 2) { in on_resp_header()
331 "CONNECT %03d response", k->httpcode); in on_resp_header()
352 data->info.httpproxycode = k->httpcode = (header[9] - '0') * 100 + in on_resp_header()
479 if((407 == k->httpcode) && !data->state.authproblem) { in recv_CONNECT_resp()
[all …]
H A Dhttp.c522 if(100 <= data->req.httpcode && data->req.httpcode <= 199) in Curl_http_auth_act()
1049 if(httpcode < 400) in http_should_fail()
1057 httpcode == 416) in http_should_fail()
1064 if((httpcode != 401) && (httpcode != 407)) in http_should_fail()
1070 DEBUGASSERT((httpcode == 401) || (httpcode == 407)); in http_should_fail()
1160 (data->req.httpcode != 401) && (data->req.httpcode != 407) && in Curl_http_follow()
3096 if((k->httpcode >= 300 && k->httpcode < 400) && in http_header()
3345 data->info.httpcode = k->httpcode; in http_statusline()
3380 k->http_bodyless = k->httpcode >= 100 && k->httpcode < 200; in http_statusline()
3381 switch(k->httpcode) { in http_statusline()
[all …]
H A Drequest.h84 int httpcode; /* error code from the 'HTTP/1.? XXX' or member
H A Dgetinfo.c62 info->httpcode = 0; in Curl_initinfo()
237 *param_longp = data->info.httpcode; in getinfo_long()
317 if(data->info.httpcode == 304) in getinfo_long()
H A Drequest.c141 req->httpcode = 0; in Curl_req_hard_reset()
H A Dopenldap.c751 data->info.httpcode = code; in oldap_connecting()
1014 data->info.httpcode = code; in oldap_recv()
H A Durldata.h986 int httpcode; /* Recent HTTP, FTP, RTSP or SMTP response code */ member
H A Dsmtp.c1223 data->info.httpcode = smtpcode; in smtp_statemachine()
H A Dftp.c591 data->info.httpcode = code; in ftp_readresp()

Completed in 61 milliseconds