HTTP/2 without TLS does not work
For debugging, it would be useful if h2c also supported raw HTTP/2 without first establishing a TLS channel. This is currently not possible, h2c will just fail.
Could you add this with an additional command line option or a fallback?
Someone who desperately needs a usable http2 tester, +1000 for needing non-tls connections... especially when I'm hitting localhost.
I found some alternatives:
curl --http2 --http2-prior-knowledgecan do raw HTTP/2.- h2load does load tests and also supports insecure mode
- Possibly some of these work too: https://github.com/http2/http2-spec/wiki/Tools
i quickly hacked it to remove TLS https://github.com/aep/h2c this is a crappy hack but maybe its useful for someone else.
I really think we should add non-TLS/h2c support in this client. This is often a well referenced tool when it comes to testing, and there are great usecases for not running TLS and not running a connection upgrade every time.