4 ms·
Why do you think that curl doesn't support h2c ? It does. Just use `--http2` or `--http2-prior-knowledge`, curl deduce the clear or not clear by `http` or `htt
by _ache_ 2y ago
Why do you think that curl doesn't support h2c ?
It does. Just use `--http2` or `--http2-prior-knowledge`, curl deduce the clear or not clear by `http` or `https` URL protocol prefix (clear the default).
- tuukkah 2y agoI said limited support and gave curl as an example because curl --http2 sends a HTTP/1.1 upgrade request first so fails in a purely HTTP/2 environment. Thanks for bringing up --http2-prior-knowledge as a solution!