我目前正在编写单元测试,以检查是否http/2受支持。
http/2
是否有一个curl单线可检查是否http/2受支持并输出易于解析的响应?
curl
curl unit-testing http2
curl ×1
http2 ×1
unit-testing ×1