quickjs-tart

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

http2-prior-knowledge.md (853B)


      1 ---
      2 c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
      3 SPDX-License-Identifier: curl
      4 Long: http2-prior-knowledge
      5 Tags: Versions
      6 Protocols: HTTP
      7 Added: 7.49.0
      8 Mutexed: http1.1 http1.0 http2 http3
      9 Requires: HTTP/2
     10 Help: Use HTTP/2 without HTTP/1.1 Upgrade
     11 Category: http
     12 Multi: boolean
     13 See-also:
     14   - http2
     15   - http3
     16 Example:
     17   - --http2-prior-knowledge $URL
     18 ---
     19 
     20 # `--http2-prior-knowledge`
     21 
     22 Issue a non-TLS HTTP request using HTTP/2 directly without HTTP/1.1 Upgrade.
     23 It requires prior knowledge that the server supports HTTP/2 straight away.
     24 HTTPS requests still do HTTP/2 the standard way with negotiated protocol
     25 versions in the TLS handshake.
     26 
     27 Since 8.10.0 if this option is set for an HTTPS request then the application
     28 layer protocol version (ALPN) offered to the server is only HTTP/2. Prior to
     29 that both HTTP/1.1 and HTTP/2 were offered.