blob: 7f5b8eb5a8c9243fd9a37c7c35d4d2790087e2d4 [file] [log] [blame]
xf.li6c8fc1e2023-08-12 00:11:09 -07001c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
2SPDX-License-Identifier: curl
3Long: http3
4Tags: Versions
5Protocols: HTTP
6Added: 7.66.0
7Mutexed: http1.1 http1.0 http2 http2-prior-knowledge
8Requires: HTTP/3
9Help: Use HTTP v3
10See-also: http1.1 http2
11Category: http
12Example: --http3 $URL
13Multi: mutex
14Experimental: yes
15---
16Tells curl to use HTTP version 3 directly to the host and port number used in
17the URL. A normal HTTP/3 transaction will be done to a host and then get
18redirected via Alt-Svc, but this option allows a user to circumvent that when
19you know that the target speaks HTTP/3 on the given host and port.
20
21This option will make curl fail if a QUIC connection cannot be established, it
22cannot fall back to a lower HTTP version on its own.