Home
last modified time | relevance | path

Searched refs:http_version (Results 1 – 12 of 12) 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.c235 int http_version, struct curl_slist *host, in setup() argument
240 curl_easy_setopt(hnd, CURLOPT_HTTP_VERSION, http_version); in setup()
312 int http_version = CURL_HTTP_VERSION_2_0; in main() local
366 http_version = CURL_HTTP_VERSION_1_1; in main()
368 http_version = CURL_HTTP_VERSION_2_0; in main()
370 http_version = CURL_HTTP_VERSION_3ONLY; in main()
441 setup(t->easy, url, t, http_version, host, share, use_earlydata, in main()
521 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/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
299 const struct httpmap *m = &http_version[0]; in writeString()
/curl/docs/cmdline-opts/
H A Dwrite-out.md113 ## `http_version`

Completed in 26 milliseconds