Home
last modified time | relevance | path

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

/curl/lib/
H A Dhttp.h108 Curl_HttpReq httpreq,
111 struct dynbuf *r, Curl_HttpReq httpreq);
122 Curl_HttpReq httpreq);
216 Curl_HttpReq httpreq,
228 struct httpreq { struct
240 CURLcode Curl_http_req_make(struct httpreq **preq, argument
246 CURLcode Curl_http_req_make2(struct httpreq **preq,
250 void Curl_http_req_free(struct httpreq *req);
274 struct httpreq *req, struct Curl_easy *data);
H A 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,
H A Dhttp.c803 (void)httpreq; in Curl_http_output_auth()
1635 Curl_HttpReq httpreq = (Curl_HttpReq)data->state.httpreq; in Curl_http_method() local
1648 DEBUGASSERT((httpreq >= HTTPREQ_GET) && (httpreq <= HTTPREQ_HEAD)); in Curl_http_method()
1669 *reqp = httpreq; in Curl_http_method()
1890 switch(httpreq) { in set_post_reader()
1920 switch(httpreq) { in set_post_reader()
1975 switch(httpreq) { in set_reader()
2025 if((HTTPREQ_POST == httpreq || HTTPREQ_PUT == httpreq) && in http_resume()
2168 switch(httpreq) { in Curl_http_req_complete()
2326 if(((httpreq == HTTPREQ_GET) || (httpreq == HTTPREQ_HEAD)) && in Curl_http_range()
[all …]
H A Dhttp_proxy.h37 CURLcode Curl_http_proxy_create_CONNECT(struct httpreq **preq,
H A Dc-hyper.c724 Curl_HttpReq httpreq) in finalize_request() argument
728 if((httpreq == HTTPREQ_GET) || (httpreq == HTTPREQ_HEAD)) { in finalize_request()
734 result = Curl_http_req_complete(data, &req, httpreq); in finalize_request()
838 Curl_HttpReq httpreq; in Curl_http() local
864 Curl_http_method(data, conn, &method, &httpreq); in Curl_http()
878 result = Curl_http_output_auth(data, conn, method, httpreq, in Curl_http()
885 result = Curl_http_req_set_reader(data, httpreq, &te); in Curl_http()
889 result = Curl_http_range(data, httpreq); in Curl_http()
1127 result = finalize_request(data, headers, req, httpreq); in Curl_http()
1157 if((httpreq == HTTPREQ_GET) || (httpreq == HTTPREQ_HEAD)) { in Curl_http()
H A Dhttp_aws_sigv4.c391 Curl_HttpReq httpreq, char *provider1, in calc_s3_payload_hash() argument
395 bool empty_method = (httpreq == HTTPREQ_GET || httpreq == HTTPREQ_HEAD); in calc_s3_payload_hash()
399 bool post_payload = (httpreq == HTTPREQ_POST && data->set.postfields); in calc_s3_payload_hash()
590 Curl_HttpReq httpreq; in Curl_output_aws_sigv4() local
686 Curl_http_method(data, conn, &method, &httpreq); in Curl_output_aws_sigv4()
697 result = calc_s3_payload_hash(data, httpreq, provider1, sha_hash, in Curl_output_aws_sigv4()
H A 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()
H A Dtransfer.c531 data->state.upload = (data->state.httpreq == HTTPREQ_PUT); in Curl_init_CONNECT()
577 data->state.httpreq = data->set.method; in Curl_pretransfer()
599 if(data->state.httpreq == HTTPREQ_PUT) in Curl_pretransfer()
601 else if((data->state.httpreq != HTTPREQ_GET) && in Curl_pretransfer()
602 (data->state.httpreq != HTTPREQ_HEAD)) { in Curl_pretransfer()
H A Dmulti.c2048 if((data->state.httpreq == HTTPREQ_POST
2049 || data->state.httpreq == HTTPREQ_POST_FORM
2050 || data->state.httpreq == HTTPREQ_POST_MIME)
2053 data->state.httpreq = HTTPREQ_GET;
2074 if((data->state.httpreq == HTTPREQ_POST
2075 || data->state.httpreq == HTTPREQ_POST_FORM
2076 || data->state.httpreq == HTTPREQ_POST_MIME)
2079 data->state.httpreq = HTTPREQ_GET;
2090 if(data->state.httpreq != HTTPREQ_GET &&
2091 ((data->state.httpreq != HTTPREQ_POST &&
[all …]
H A Dhttp1.c321 CURLcode Curl_h1_req_write_head(struct httpreq *req, int http_minor, in Curl_h1_req_write_head()
H A Drtsp.c508 data->state.httpreq = HTTPREQ_PUT; in rtsp_do()
565 data->state.httpreq = HTTPREQ_HEAD; in rtsp_do()
H A Dgetinfo.c108 switch(data->state.httpreq) { in getinfo_char()
H A Dmqtt.c809 if(data->state.httpreq == HTTPREQ_POST) { in mqtt_doing()
H A Dcf-h2-proxy.c900 struct httpreq *req, in proxy_h2_submit()
958 struct httpreq *req = NULL; in submit_CONNECT()
H A Dcf-h1-proxy.c220 struct httpreq *req = NULL; in start_CONNECT()
H A Durldata.h1355 unsigned char httpreq; /* Curl_HttpReq; what kind of HTTP request (if any) member
H A Dhttp2.c569 data->state.httpreq == HTTPREQ_HEAD, in cf_h2_ctx_open()
2209 switch(data->state.httpreq) { in h2_submit()
H A Durl.c3849 data->state.httpreq = HTTPREQ_HEAD;
/curl/src/
H A Dtool_cfgable.h212 HttpReq httpreq; member
H A Dtool_operate.c1034 switch(config->httpreq) { in config2setopts()
1415 customrequest_helper(config, config->httpreq, config->customrequest); in config2setopts()
1826 TOOL_HTTPREQ_GET), &config->httpreq)) { in single_transfer()
1832 if(SetHTTPrequest(config, TOOL_HTTPREQ_SIMPLEPOST, &config->httpreq)) in single_transfer()
2022 if(SetHTTPrequest(config, TOOL_HTTPREQ_PUT, &config->httpreq)) { in single_transfer()
H A Dtool_getparam.c2176 else if(SetHTTPrequest(config, TOOL_HTTPREQ_MIMEPOST, &config->httpreq)) in getparameter()
2254 TOOL_HTTPREQ_GET, &config->httpreq)) in getparameter()
/curl/lib/vquic/
H A Dcurl_ngtcp2.c1460 switch(data->state.httpreq) { in h3_stream_open()
H A Dcurl_osslq.c1858 switch(data->state.httpreq) { in h3_stream_open()

Completed in 124 milliseconds