http2-prior-knowledge.d 618 B

1234567891011121314151617
  1. c: Copyright (C) 1998 - 2022, 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. ---
  14. Tells curl to issue its non-TLS HTTP requests using HTTP/2 without HTTP/1.1
  15. Upgrade. It requires prior knowledge that the server supports HTTP/2 straight
  16. away. HTTPS requests will still do HTTP/2 the standard way with negotiated
  17. protocol version in the TLS handshake.