Home
last modified time | relevance | path

Searched refs:http_version (Results 1 – 13 of 13) sorted by relevance

/curl/tests/http/clients/
H A Dtls-session-reuse.c143 const char *url, int http_version) in add_transfer() argument
160 curl_easy_setopt(easy, CURLOPT_HTTP_VERSION, http_version); in add_transfer()
191 int http_version = CURL_HTTP_VERSION_1_1; in main() local
199 http_version = CURL_HTTP_VERSION_2; in main()
201 http_version = CURL_HTTP_VERSION_3ONLY; in main()
241 add_transfer(multi, share, &resolve, url, http_version); in main()
267 add_transfer(multi, share, &resolve, url, http_version); in main()
H A Dupload-pausing.c210 int http_version = CURL_HTTP_VERSION_1_1; in main() local
217 http_version = CURL_HTTP_VERSION_1_1; in main()
219 http_version = CURL_HTTP_VERSION_2_0; in main()
221 http_version = CURL_HTTP_VERSION_3ONLY; in main()
300 curl_easy_setopt(curl, CURLOPT_HTTP_VERSION, http_version); in main()
H A Dhx-download.c231 int http_version, struct curl_slist *host, in setup() argument
236 curl_easy_setopt(hnd, CURLOPT_HTTP_VERSION, http_version); in setup()
304 int http_version = CURL_HTTP_VERSION_2_0; in main() local
343 http_version = CURL_HTTP_VERSION_1_1; in main()
345 http_version = CURL_HTTP_VERSION_2_0; in main()
347 http_version = CURL_HTTP_VERSION_3ONLY; in main()
409 setup(t->easy, url, t, http_version, host, share, use_earlydata)) { in main()
488 setup(t->easy, url, t, http_version, host, share, in main()
H A Dhx-upload.c255 int http_version, struct curl_slist *host, in setup() argument
260 curl_easy_setopt(hnd, CURLOPT_HTTP_VERSION, http_version); in setup()
346 int http_version = CURL_HTTP_VERSION_2_0; in main() local
397 http_version = CURL_HTTP_VERSION_1_1; in main()
399 http_version = CURL_HTTP_VERSION_2_0; in main()
401 http_version = CURL_HTTP_VERSION_3ONLY; in main()
472 if(setup(t->easy, url, t, http_version, host, share, use_earlydata, in main()
494 if(!t->easy || setup(t->easy, url, t, http_version, host, share, in main()
573 if(!t->easy || setup(t->easy, url, t, http_version, host, in main()
H A Dh2-pausing.c216 int http_version = CURL_HTTP_VERSION_2_0; in main() local
226 http_version = CURL_HTTP_VERSION_1_1; in main()
228 http_version = CURL_HTTP_VERSION_2_0; in main()
230 http_version = CURL_HTTP_VERSION_3ONLY; in main()
297 curl_easy_setopt(handles[i].h, CURLOPT_HTTP_VERSION, (long)http_version); in main()
/curl/tests/data/
H A Dtest143929 Check if %{http_version} returns 1.1
32 http://%HOSTIP:%HTTPPORT/%TESTNUMBER --write-out '%{http_version}'
H A Dtest97062 …t%TESTNUMBER","ftp_entry_path":null,"http_code":200,"http_connect":0,"http_version":"1.1","local_i…
H A Dtest97263 …t%TESTNUMBER","ftp_entry_path":null,"http_code":200,"http_connect":0,"http_version":"1.1","local_i…
/curl/docs/libcurl/opts/
H A DCURLINFO_HTTP_VERSION.md48 long http_version;
49 curl_easy_getinfo(curl, CURLINFO_HTTP_VERSION, &http_version);
/curl/lib/
H A Dc-hyper.c264 int http_version, in status_line() argument
271 vstr = http_version == HYPER_HTTP_VERSION_1_1 ? "1.1" : in status_line()
272 (http_version == HYPER_HTTP_VERSION_2 ? "2" : "1.0"); in status_line()
277 data->req.httpversion = http_version == HYPER_HTTP_VERSION_1_1 ? 11 : in status_line()
278 (http_version == HYPER_HTTP_VERSION_2 ? 20 : 10); in status_line()
284 if(http_version == HYPER_HTTP_VERSION_1_0) in status_line()
342 int http_version; in Curl_hyper_stream() local
449 http_version = hyper_response_version(resp); in Curl_hyper_stream()
783 int http_version; in http1xx_cb() local
790 http_version = hyper_response_version(resp); in http1xx_cb()
[all …]
/curl/tests/http/testenv/
H A Dcurl.py366 http_version = None
368 http_version = '1.1'
370 http_version = '2'
372 http_version = '3'
373 if http_version is not None:
375 assert x['http_version'] == http_version, \
/curl/src/
H A Dtool_writeout.c55 static const struct httpmap http_version[] = { variable
298 const struct httpmap *m = &http_version[0]; in writeString()
/curl/docs/cmdline-opts/
H A Dwrite-out.md107 ## `http_version`

Completed in 24 milliseconds