Lines Matching refs:httpreq
551 if((data->state.httpreq != HTTPREQ_GET) && in Curl_http_auth_act()
552 (data->state.httpreq != HTTPREQ_HEAD)) { in Curl_http_auth_act()
706 Curl_HttpReq httpreq, in Curl_http_output_auth() argument
778 (httpreq != HTTPREQ_GET) && in Curl_http_output_auth()
779 (httpreq != HTTPREQ_HEAD)) { in Curl_http_output_auth()
796 Curl_HttpReq httpreq, in Curl_http_output_auth() argument
803 (void)httpreq; in Curl_http_output_auth()
1029 if(data->state.resume_from && data->state.httpreq == HTTPREQ_GET && in http_should_fail()
1348 else if(data->state.httpreq == HTTPREQ_POST_FORM && in Curl_dynhds_add_custom()
1352 else if(data->state.httpreq == HTTPREQ_POST_MIME && in Curl_dynhds_add_custom()
1495 else if(data->state.httpreq == HTTPREQ_POST_FORM && in Curl_add_custom_headers()
1499 else if(data->state.httpreq == HTTPREQ_POST_MIME && in Curl_add_custom_headers()
1635 Curl_HttpReq httpreq = (Curl_HttpReq)data->state.httpreq; in Curl_http_method() local
1639 httpreq = HTTPREQ_PUT; in Curl_http_method()
1648 DEBUGASSERT((httpreq >= HTTPREQ_GET) && (httpreq <= HTTPREQ_HEAD)); in Curl_http_method()
1649 switch(httpreq) { in Curl_http_method()
1669 *reqp = httpreq; in Curl_http_method()
1886 static CURLcode set_post_reader(struct Curl_easy *data, Curl_HttpReq httpreq) in set_post_reader() argument
1890 switch(httpreq) { in set_post_reader()
1920 switch(httpreq) { in set_post_reader()
1964 static CURLcode set_reader(struct Curl_easy *data, Curl_HttpReq httpreq) in set_reader() argument
1975 switch(httpreq) { in set_reader()
1983 return set_post_reader(data, httpreq); in set_reader()
2023 static CURLcode http_resume(struct Curl_easy *data, Curl_HttpReq httpreq) in http_resume() argument
2025 if((HTTPREQ_POST == httpreq || HTTPREQ_PUT == httpreq) && in http_resume()
2059 Curl_HttpReq httpreq, in Curl_http_req_set_reader() argument
2065 result = set_reader(data, httpreq); in Curl_http_req_set_reader()
2069 result = http_resume(data, httpreq); in Curl_http_req_set_reader()
2151 struct dynbuf *r, Curl_HttpReq httpreq) in Curl_http_req_complete() argument
2168 switch(httpreq) { in Curl_http_req_complete()
2195 ((httpreq == HTTPREQ_POST_FORM) || (httpreq == HTTPREQ_POST_MIME))) { in Curl_http_req_complete()
2205 if(httpreq == HTTPREQ_POST) { in Curl_http_req_complete()
2318 Curl_HttpReq httpreq) in Curl_http_range() argument
2326 if(((httpreq == HTTPREQ_GET) || (httpreq == HTTPREQ_HEAD)) && in Curl_http_range()
2333 else if((httpreq == HTTPREQ_POST || httpreq == HTTPREQ_PUT) && in Curl_http_range()
2393 (data->state.httpreq == HTTPREQ_GET) && in Curl_http_firstwrite()
2479 Curl_HttpReq httpreq; in Curl_http() local
2538 Curl_http_method(data, conn, &request, &httpreq); in Curl_http()
2548 result = Curl_http_output_auth(data, conn, request, httpreq, in Curl_http()
2580 result = Curl_http_req_set_reader(data, httpreq, &te); in Curl_http()
2587 result = Curl_http_range(data, httpreq); in Curl_http()
2710 result = Curl_http_req_complete(data, &req, httpreq); in Curl_http()
3133 (data->state.httpreq != HTTPREQ_HEAD) && in Curl_http_header()
3226 if(data->state.resume_from && data->state.httpreq == HTTPREQ_GET && in Curl_http_statusline()
3493 data->state.httpreq != HTTPREQ_HEAD) { in http_on_response()
3573 switch(data->state.httpreq) { in http_on_response()
4057 CURLcode Curl_http_req_make(struct httpreq **preq, in Curl_http_req_make()
4063 struct httpreq *req; in Curl_http_req_make()
4100 static CURLcode req_assign_url_authority(struct httpreq *req, CURLU *url) in req_assign_url_authority()
4166 static CURLcode req_assign_url_path(struct httpreq *req, CURLU *url) in req_assign_url_path()
4214 CURLcode Curl_http_req_make2(struct httpreq **preq, in Curl_http_req_make2()
4218 struct httpreq *req; in Curl_http_req_make2()
4258 void Curl_http_req_free(struct httpreq *req) in Curl_http_req_free()
4298 struct httpreq *req, struct Curl_easy *data) in Curl_http_req_to_h2()