2
0

http2-prior-knowledge.d 615 B

123456789101112131415161718
  1. c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
  2. SPDX-License-Identifier: curl
  3. Long: http2-prior-knowledge
  4. Tags: Versions
  5. Protocols: HTTP
  6. Added: 7.49.0
  7. Mutexed: http1.1 http1.0 http2 http3
  8. Requires: HTTP/2
  9. Help: Use HTTP 2 without HTTP/1.1 Upgrade
  10. Category: http
  11. Example: --http2-prior-knowledge $URL
  12. See-also: http2 http3
  13. Multi: boolean
  14. ---
  15. Tells curl to issue its non-TLS HTTP requests using HTTP/2 without HTTP/1.1
  16. Upgrade. It requires prior knowledge that the server supports HTTP/2 straight
  17. away. HTTPS requests still do HTTP/2 the standard way with negotiated protocol
  18. version in the TLS handshake.