2023-01-02 20:51:48 +08:00
|
|
|
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
2022-06-14 06:12:03 +08:00
|
|
|
SPDX-License-Identifier: curl
|
2016-11-14 06:40:12 +08:00
|
|
|
Long: http2-prior-knowledge
|
|
|
|
Tags: Versions
|
|
|
|
Protocols: HTTP
|
|
|
|
Added: 7.49.0
|
2022-01-10 04:34:19 +08:00
|
|
|
Mutexed: http1.1 http1.0 http2 http3
|
2016-11-14 06:40:12 +08:00
|
|
|
Requires: HTTP/2
|
2016-11-15 16:08:50 +08:00
|
|
|
Help: Use HTTP 2 without HTTP/1.1 Upgrade
|
2020-07-13 20:15:04 +08:00
|
|
|
Category: http
|
2021-08-31 22:37:14 +08:00
|
|
|
Example: --http2-prior-knowledge $URL
|
2021-11-15 22:58:20 +08:00
|
|
|
See-also: http2 http3
|
2022-10-18 16:39:43 +08:00
|
|
|
Multi: boolean
|
2016-11-14 06:40:12 +08:00
|
|
|
---
|
|
|
|
Tells curl to issue its non-TLS HTTP requests using HTTP/2 without HTTP/1.1
|
|
|
|
Upgrade. It requires prior knowledge that the server supports HTTP/2 straight
|
|
|
|
away. HTTPS requests will still do HTTP/2 the standard way with negotiated
|
|
|
|
protocol version in the TLS handshake.
|