/curl/tests/http/clients/ |
H A D | tls-session-reuse.c | 143 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 D | upload-pausing.c | 210 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 D | hx-download.c | 231 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 D | hx-upload.c | 255 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 D | h2-pausing.c | 216 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 D | test1439 | 29 Check if %{http_version} returns 1.1 32 http://%HOSTIP:%HTTPPORT/%TESTNUMBER --write-out '%{http_version}'
|
H A D | test970 | 62 …t%TESTNUMBER","ftp_entry_path":null,"http_code":200,"http_connect":0,"http_version":"1.1","local_i…
|
H A D | test972 | 63 …t%TESTNUMBER","ftp_entry_path":null,"http_code":200,"http_connect":0,"http_version":"1.1","local_i…
|
/curl/docs/libcurl/opts/ |
H A D | CURLINFO_HTTP_VERSION.md | 48 long http_version; 49 curl_easy_getinfo(curl, CURLINFO_HTTP_VERSION, &http_version);
|
/curl/lib/ |
H A D | c-hyper.c | 264 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 D | curl.py | 366 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 D | tool_writeout.c | 55 static const struct httpmap http_version[] = { variable 298 const struct httpmap *m = &http_version[0]; in writeString()
|
/curl/docs/cmdline-opts/ |
H A D | write-out.md | 107 ## `http_version`
|