aboutsummaryrefslogtreecommitdiff
path: root/docs/cmdline-opts/http2-prior-knowledge.d
diff options
context:
space:
mode:
Diffstat (limited to 'docs/cmdline-opts/http2-prior-knowledge.d')
-rw-r--r--docs/cmdline-opts/http2-prior-knowledge.d12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/cmdline-opts/http2-prior-knowledge.d b/docs/cmdline-opts/http2-prior-knowledge.d
new file mode 100644
index 000000000..0fb42354b
--- /dev/null
+++ b/docs/cmdline-opts/http2-prior-knowledge.d
@@ -0,0 +1,12 @@
+Short:
+Long: http2-prior-knowledge
+Tags: Versions
+Protocols: HTTP
+Added: 7.49.0
+Mutexed: http1.1 http1.0 http2
+Requires: HTTP/2
+---
+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.