んふふふ!! (http/2のおべんきょせんと
$ curl --http2 -sI https://mastodon.zunda.ninja/ | grep ' 2.0'
HTTP/2 200
via: 2.0 heroku-router
偶然マッチに頼らなくてもsedなら1行目とヘッダを抽出できるね
$ curl --http2 -sI https://mastodon.zunda.ninja/ | sed -n '1p;/^via:/Ip'
HTTP/2 200
via: 2.0 heroku-router