📎 Webclip
Tools for debugging, testing and using HTTP/2
The post gathers tools for checking, testing, and debugging HTTP/2. It begins with browser indicators and online checks, then moves to command-line clients, load testing, conformance testing, development libraries, packet analysis, and Chrome developer features for seeing which resources were loaded with HTTP/2.
Reading notes#
- Chrome and Firefox add-ons can show whether a page used HTTP/2, SPDY, or HTTP/1.1.
- Online tools can test whether a site supports HTTP/2.
- Claire reports how a page was loaded, including IPv6, Railgun, and HTTP/2.
is-http2checks a site from the command line and reports the protocols a server advertises.curlgained HTTP/2 support in version 7.43.0 when linked withnghttp, and--http2makes it use HTTP/2 when possible.nghttpcan show the HTTP/2 frames sent and received.h2ccan keep connections alive, run in the background, and dump HTTP/2 frames for debugging.openssl s_client -nextprotoneg ''can show which protocols a site advertises.h2ilets you connect to an HTTP/2 site and send individual frames interactively.h2loadis the load-testing tool included withnghttp2.h2specruns conformance tests against a real HTTP/2 server and reports results with RFC7540 references.h2scanchecks a list of sites for HTTPS, SPDY/3.1, and HTTP/2 support.nghttp2, Go’sx/net/http2, a Ruby implementation, and Haskell’shttp2package are listed as useful libraries.- Wireshark decodes HTTP/2, and Chrome can write TLS session keys to
SSLKEYLOGFILEso Wireshark can decrypt traffic. - Chrome Developer Tools can add a Protocol column to sort page resources by protocol.
- The post ends with links to an HTTP/2 introduction,
http2 explained, and the HTTP/2 working group site.
