/curl/lib/ |
H A D | http.h | 108 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 D | http1.h | 39 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 D | http.c | 803 (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 D | http_proxy.h | 37 CURLcode Curl_http_proxy_create_CONNECT(struct httpreq **preq,
|
H A D | c-hyper.c | 724 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 D | http_aws_sigv4.c | 391 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 D | http_proxy.c | 84 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 D | transfer.c | 531 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 D | multi.c | 2048 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 D | http1.c | 321 CURLcode Curl_h1_req_write_head(struct httpreq *req, int http_minor, in Curl_h1_req_write_head()
|
H A D | rtsp.c | 508 data->state.httpreq = HTTPREQ_PUT; in rtsp_do() 565 data->state.httpreq = HTTPREQ_HEAD; in rtsp_do()
|
H A D | getinfo.c | 108 switch(data->state.httpreq) { in getinfo_char()
|
H A D | mqtt.c | 809 if(data->state.httpreq == HTTPREQ_POST) { in mqtt_doing()
|
H A D | cf-h2-proxy.c | 900 struct httpreq *req, in proxy_h2_submit() 958 struct httpreq *req = NULL; in submit_CONNECT()
|
H A D | cf-h1-proxy.c | 220 struct httpreq *req = NULL; in start_CONNECT()
|
H A D | urldata.h | 1355 unsigned char httpreq; /* Curl_HttpReq; what kind of HTTP request (if any) member
|
H A D | http2.c | 569 data->state.httpreq == HTTPREQ_HEAD, in cf_h2_ctx_open() 2209 switch(data->state.httpreq) { in h2_submit()
|
H A D | url.c | 3849 data->state.httpreq = HTTPREQ_HEAD;
|
/curl/src/ |
H A D | tool_cfgable.h | 212 HttpReq httpreq; member
|
H A D | tool_operate.c | 1034 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 D | tool_getparam.c | 2176 else if(SetHTTPrequest(config, TOOL_HTTPREQ_MIMEPOST, &config->httpreq)) in getparameter() 2254 TOOL_HTTPREQ_GET, &config->httpreq)) in getparameter()
|
/curl/lib/vquic/ |
H A D | curl_ngtcp2.c | 1460 switch(data->state.httpreq) { in h3_stream_open()
|
H A D | curl_osslq.c | 1858 switch(data->state.httpreq) { in h3_stream_open()
|