http3-only.md (912B)
1 --- 2 c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. 3 SPDX-License-Identifier: curl 4 Long: http3-only 5 Tags: Versions 6 Protocols: HTTP 7 Added: 7.88.0 8 Mutexed: http1.1 http1.0 http2 http2-prior-knowledge http3 9 Requires: HTTP/3 10 Help: Use HTTP/3 only 11 Category: http 12 Multi: mutex 13 See-also: 14 - http1.1 15 - http2 16 - http3 17 Example: 18 - --http3-only $URL 19 --- 20 21 # `--http3-only` 22 23 Instruct curl to use HTTP/3 to the host in the URL, with no fallback to 24 earlier HTTP versions. HTTP/3 can only be used for HTTPS and not for HTTP 25 URLs. For HTTP, this option triggers an error. 26 27 This option allows a user to avoid using the Alt-Svc method of upgrading to 28 HTTP/3 when you know that the target speaks HTTP/3 on the given host and port. 29 30 This option makes curl fail if a QUIC connection cannot be established, it 31 does not attempt any other HTTP versions on its own. Use --http3 for similar 32 functionality *with* a fallback.