Are there any tools to see what is coming through the wire (Raw request and response) for HTTP 2.0? I used Fiddler and saw only HTTP 1.1 data.
I enabled HTTP 2.0 / SPDY in Chrome and visited https://http2.akamai.com to see the request and response.
To be precise, HTTP/2 (h2) requires TLS. There is also h2c, is is a non-TLS variant. Most browser vendors are choosing to not implement h2c.
Google Chrome offers a quick and easy way to check if HTTP/2 is supported on your SSL-enabled site. First, visit your site in Chrome over HTTPS. There you'll see your site listed with protocol h2, confirming your site works over HTTP/2.
In HTTP/2, multiple asset requests can reuse a single TCP connection. Unlike HTTP 1.1 requests that use the Keep-Alive header, the requests and response binary frames in HTTP/2 are interleaved and head-of-line blocking does not happen.
Switching to HTTP/2 is a decision to made after analysing the browser version data of your user base. The HTTP/1.1 to HTTP/2 protocol conversion happens automatically and its backward compatible. So there is nothing pretty much to be done to switch it other than ensuring your server supports it.
Wireshark has support for HTTP/2.0 (https://wiki.wireshark.org/HTTP2)
You can also simply check the frames using the built-in Chrome packet monitor.
Open a tab to chrome://net-internals, select 'SPDY' (or 'HTTP/2' in most recent versions) in the top left menu and click 'View live SPDY sessions' or 'View live HTTP/2 sessions'.
Whenever another tab is using a new SPDY or HTTP/2 connection, you'll be able to inspect the stream details from this tab.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With