quickjs-tart

quickjs-based runtime for wallet-core logic
Log | Files | Refs | README | LICENSE

http2.md (753B)


      1 ---
      2 c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
      3 SPDX-License-Identifier: curl
      4 Long: http2
      5 Tags: Versions
      6 Protocols: HTTP
      7 Added: 7.33.0
      8 Mutexed: http1.1 http1.0 http2-prior-knowledge http3
      9 Requires: HTTP/2
     10 Help: Use HTTP/2
     11 Category: http
     12 Multi: mutex
     13 See-also:
     14   - http1.1
     15   - http3
     16   - no-alpn
     17 Example:
     18   - --http2 $URL
     19 ---
     20 
     21 # `--http2`
     22 
     23 Use HTTP/2.
     24 
     25 For HTTPS, this means curl negotiates HTTP/2 in the TLS handshake. curl does
     26 this by default.
     27 
     28 For HTTP, this means curl attempts to upgrade the request to HTTP/2 using the
     29 Upgrade: request header.
     30 
     31 When curl uses HTTP/2 over HTTPS, it does not itself insist on TLS 1.2 or
     32 higher even though that is required by the specification. A user can add this
     33 version requirement with --tlsv1.2.