Home
last modified time | relevance | path

Searched refs:httpreq (Results 1 – 25 of 27) sorted by relevance

12

/third_party/curl/lib/
Dhttp.h119 Curl_HttpReq httpreq,
122 struct dynbuf *r, Curl_HttpReq httpreq);
134 Curl_HttpReq httpreq);
136 Curl_HttpReq httpreq);
253 Curl_HttpReq httpreq,
265 struct httpreq { struct
277 CURLcode Curl_http_req_make(struct httpreq **preq, argument
283 CURLcode Curl_http_req_make2(struct httpreq **preq,
287 void Curl_http_req_free(struct httpreq *req);
311 struct httpreq *req, struct Curl_easy *data);
Dhttp.c439 switch(data->state.httpreq) { in http_perhapsrewind()
460 switch(data->state.httpreq) { in http_perhapsrewind()
604 if((data->state.httpreq != HTTPREQ_GET) && in Curl_http_auth_act()
605 (data->state.httpreq != HTTPREQ_HEAD) && in Curl_http_auth_act()
626 if((data->state.httpreq != HTTPREQ_GET) && in Curl_http_auth_act()
627 (data->state.httpreq != HTTPREQ_HEAD)) { in Curl_http_auth_act()
790 Curl_HttpReq httpreq, in Curl_http_output_auth() argument
862 (httpreq != HTTPREQ_GET) && in Curl_http_output_auth()
863 (httpreq != HTTPREQ_HEAD)) { in Curl_http_output_auth()
880 Curl_HttpReq httpreq, in Curl_http_output_auth() argument
[all …]
Dhttp1.h39 struct httpreq *req;
56 CURLcode Curl_h1_req_dprint(const struct httpreq *req,
59 CURLcode Curl_h1_req_write_head(struct httpreq *req, int http_minor,
Dtransfer.c1041 data->state.upload = (data->state.httpreq == HTTPREQ_PUT); in Curl_init_CONNECT()
1087 data->state.httpreq = data->set.method; in Curl_pretransfer()
1109 if(data->state.httpreq == HTTPREQ_PUT) in Curl_pretransfer()
1111 else if((data->state.httpreq != HTTPREQ_GET) && in Curl_pretransfer()
1112 (data->state.httpreq != HTTPREQ_HEAD)) { in Curl_pretransfer()
1443 if((data->state.httpreq == HTTPREQ_POST in Curl_follow()
1444 || data->state.httpreq == HTTPREQ_POST_FORM in Curl_follow()
1445 || data->state.httpreq == HTTPREQ_POST_MIME) in Curl_follow()
1448 data->state.httpreq = HTTPREQ_GET; in Curl_follow()
1468 if((data->state.httpreq == HTTPREQ_POST in Curl_follow()
[all …]
Dc-hyper.c763 Curl_HttpReq httpreq) in bodysend() argument
768 if((httpreq == HTTPREQ_GET) || (httpreq == HTTPREQ_HEAD)) in bodysend()
773 result = Curl_http_bodysend(data, conn, &req, httpreq); in bodysend()
880 Curl_HttpReq httpreq; in Curl_http() local
897 Curl_http_method(data, conn, &method, &httpreq); in Curl_http()
909 result = Curl_http_output_auth(data, conn, method, httpreq, in Curl_http()
916 result = Curl_http_resume(data, conn, httpreq); in Curl_http()
920 result = Curl_http_range(data, httpreq); in Curl_http()
1037 result = Curl_http_body(data, conn, httpreq, &te); in Curl_http()
1163 result = bodysend(data, conn, headers, req, httpreq); in Curl_http()
[all …]
Dhttp_aws_sigv4.c376 Curl_HttpReq httpreq, char *provider1, in calc_s3_payload_hash() argument
380 bool empty_method = (httpreq == HTTPREQ_GET || httpreq == HTTPREQ_HEAD); in calc_s3_payload_hash()
384 bool post_payload = (httpreq == HTTPREQ_POST && data->set.postfields); in calc_s3_payload_hash()
547 Curl_HttpReq httpreq; in Curl_output_aws_sigv4() local
642 Curl_http_method(data, conn, &method, &httpreq); in Curl_output_aws_sigv4()
653 result = calc_s3_payload_hash(data, httpreq, provider1, sha_hash, in Curl_output_aws_sigv4()
Dhttp_proxy.h37 CURLcode Curl_http_proxy_create_CONNECT(struct httpreq **preq,
Dhttp_proxy.c84 CURLcode Curl_http_proxy_create_CONNECT(struct httpreq **preq, in Curl_http_proxy_create_CONNECT()
94 struct httpreq *req = NULL; in Curl_http_proxy_create_CONNECT()
Drtsp.c502 data->state.httpreq = HTTPREQ_PUT; in rtsp_do()
509 data->state.httpreq = HTTPREQ_POST; in rtsp_do()
549 data->state.httpreq = HTTPREQ_HEAD; in rtsp_do()
Dhttp1.c321 CURLcode Curl_h1_req_write_head(struct httpreq *req, int http_minor, in Curl_h1_req_write_head()
Dgetinfo.c108 switch(data->state.httpreq) { in getinfo_char()
Dmulti.c1832 (data->state.httpreq == HTTPREQ_GET) ||
1833 (data->state.httpreq == HTTPREQ_HEAD))
1835 else if(data->state.httpreq == HTTPREQ_POST_MIME ||
1836 data->state.httpreq == HTTPREQ_POST_FORM) {
Dcf-h2-proxy.c896 struct httpreq *req, in proxy_h2_submit()
954 struct httpreq *req = NULL; in submit_CONNECT()
Dmqtt.c811 if(data->state.httpreq == HTTPREQ_POST) { in mqtt_doing()
Dcf-h1-proxy.c220 struct httpreq *req = NULL; in start_CONNECT()
Durldata.h1470 unsigned char httpreq; /* Curl_HttpReq; what kind of HTTP request (if any) member
Dhttp2.c474 data->state.httpreq == HTTPREQ_HEAD, in cf_h2_ctx_init()
2075 switch(data->state.httpreq) { in h2_submit()
/third_party/node/test/internet/
Dtest-http-dns-fail.js31 function httpreq(count) { function
43 httpreq(count + 1);
49 httpreq(0);
/third_party/curl/src/
Dtool_cfgable.h208 HttpReq httpreq; member
Dtool_operate.c759 &config->httpreq)) { in single_transfer()
765 if(SetHTTPrequest(config, HTTPREQ_SIMPLEPOST, &config->httpreq)) in single_transfer()
968 if(SetHTTPrequest(config, HTTPREQ_PUT, &config->httpreq)) { in single_transfer()
1414 switch(config->httpreq) { in single_transfer()
1873 customrequest_helper(config, config->httpreq, config->customrequest); in single_transfer()
Dtool_getparam.c2286 else if(SetHTTPrequest(config, HTTPREQ_MIMEPOST, &config->httpreq)) in getparameter()
2364 &config->httpreq)) in getparameter()
/third_party/curl/docs/
DCODE_STYLE.md232 (handle->set.httpreq == HTTPREQ_GET ||
233 handle->set.httpreq == HTTPREQ_HEAD))
/third_party/curl/lib/vquic/
Dcurl_msh3.c623 switch(data->state.httpreq) { in cf_msh3_send()
Dcurl_quiche.c893 switch(data->state.httpreq) { in h3_open_stream()
Dcurl_osslq.c1710 switch(data->state.httpreq) { in h3_stream_open()

12