Skip to content

Instantly share code, notes, and snippets.

@oimou
Created August 24, 2015 16:18
Show Gist options
  • Select an option

  • Save oimou/e4ec38323de04ebf3278 to your computer and use it in GitHub Desktop.

Select an option

Save oimou/e4ec38323de04ebf3278 to your computer and use it in GitHub Desktop.
Connecting to localhost:8443 ...
Connected to 127.0.0.1:8443
Negotiated protocol "h2"
[FrameHeader SETTINGS len=0]
h2i> settings
Sending: []
[FrameHeader SETTINGS flags=ACK len=0]
h2i> ping
[FrameHeader PING flags=ACK len=8]
Data = "h2i_ping"
h2i> headers
(as HTTP/1.1)> GET / HTTP/1.1
(as HTTP/1.1)> Host: hoge
(as HTTP/1.1)> User-Agent: h2i
(as HTTP/1.1)>
Opening Stream-ID 1:
:authority = hoge
:method = GET
:path = /
:scheme = https
user-agent = h2i
[FrameHeader HEADERS flags=END_HEADERS stream=1 len=25]
:status = "200"
date = "Mon, 24 Aug 2015 16:17:50 GMT"
[FrameHeader DATA flags=END_STREAM stream=1 len=12]
"Hello http2!"
h2i>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment