Utility for checking if a given server supports HTTP/2.
For Go 1.17 or later:
go install github.com/xyproto/http2check@latest
http2check twitter.com
Output:
GET https://twitter.com
[protocol] HTTP/2.0
[status] 200 OK
- IPv6 addresses are not supported.
- Version: 0.7.0
- License: BSD-3
- Alexander F. Rødseth