http2.d 473 B

12345678910111213141516171819
  1. Long: http2
  2. Tags: Versions
  3. Protocols: HTTP
  4. Added: 7.33.0
  5. Mutexed: http1.1 http1.0 http2-prior-knowledge
  6. Requires: HTTP/2
  7. See-also: no-alpn
  8. Help: Use HTTP 2
  9. See-also: http1.1 http3
  10. Category: http
  11. Example: --http2 $URL
  12. ---
  13. Tells curl to use HTTP version 2.
  14. For HTTPS, this means curl will attempt to negotiate HTTP/2 in the TLS
  15. handshake. curl does this by default.
  16. For HTTP, this means curl will attempt to upgrade the request to HTTP/2 using
  17. the Upgrade: request header.