Skip to content

Instantly share code, notes, and snippets.

@kysnm
Last active August 29, 2015 14:16
Show Gist options
  • Save kysnm/df59bc0b1b1ff83ba5ec to your computer and use it in GitHub Desktop.
Save kysnm/df59bc0b1b1ff83ba5ec to your computer and use it in GitHub Desktop.
➜ nghttp2 git:(master) nghttp --verbose https://localhost
[ 0.002] Connected
[ 0.004][NPN] server offers:
* h2
* h2-16
* h2-14
The negotiated protocol: h2-16
[ 0.007] send SETTINGS frame <length=12, flags=0x00, stream_id=0>
(niv=2)
[SETTINGS_MAX_CONCURRENT_STREAMS(0x03):100]
[SETTINGS_INITIAL_WINDOW_SIZE(0x04):65535]
[ 0.007] send HEADERS frame <length=29, flags=0x05, stream_id=1>
; END_STREAM | END_HEADERS
(padlen=0)
; Open new stream
:method: GET
:path: /
:scheme: https
:authority: localhost
accept: */*
accept-encoding: gzip, deflate
user-agent: nghttp2/0.7.1
[ 0.008] recv SETTINGS frame <length=18, flags=0x00, stream_id=0>
(niv=3)
[SETTINGS_ENABLE_PUSH(0x02):0]
[SETTINGS_MAX_CONCURRENT_STREAMS(0x03):100]
[SETTINGS_INITIAL_WINDOW_SIZE(0x04):262144]
[ 0.008] recv SETTINGS frame <length=0, flags=0x01, stream_id=0>
; ACK
(niv=0)
[ 0.008] send SETTINGS frame <length=0, flags=0x01, stream_id=0>
; ACK
(niv=0)
[ 0.110] recv (stream_id=1, noind=0) :status: 200
[ 0.110] recv (stream_id=1, noind=0) server: h2o/1.0.2-alpha1
[ 0.111] recv (stream_id=1, noind=0) date: Tue, 24 Feb 2015 15:44:46 GMT
[ 0.111] recv (stream_id=1, noind=0) x-frame-options: SAMEORIGIN
[ 0.111] recv (stream_id=1, noind=0) x-xss-protection: 1; mode=block
[ 0.111] recv (stream_id=1, noind=0) x-content-type-options: nosniff
[ 0.111] recv (stream_id=1, noind=0) content-type: text/html; charset=utf-8
[ 0.111] recv (stream_id=1, noind=0) etag: W/"b3cd5b18d15ce73bb48418e11a3b2eaa"
[ 0.111] recv (stream_id=1, noind=0) cache-control: max-age=0, private, must-revalidate
[ 0.111] recv (stream_id=1, noind=0) x-request-id: 7a6bbbd5-107f-4a2c-8f26-8029518608b6
[ 0.111] recv (stream_id=1, noind=0) x-runtime: 0.098362
[ 0.111] send RST_STREAM frame <length=4, flags=0x00, stream_id=1>
(error_code=COMPRESSION_ERROR(0x09))
[ 0.111] send GOAWAY frame <length=8, flags=0x00, stream_id=0>
(last_stream_id=0, error_code=COMPRESSION_ERROR(0x09), opaque_data(0)=[])
Host: localhost
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:37.0) Gecko/20100101 Firefox/37.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: ja,en-US;q=0.7,en;q=0.3
Accept-Encoding: gzip, deflate
Cookie: _ga=GA1.1.1042889233.1423630808; _h2o_test_session=RENjY0tzVkZHOUVMTnY2Vit1aWo0aXNzYnB6aUJQUjBlYitTRXcwQVhpQnlqT2lSaytqOExKL3dRMVVtYVdiemNDL1lzaFdyazhTcWlYVk9QMVQ4eG1jSzlWTytmUHI1Tm43TWFQS2RRcWpZU2lTQ2hLQzNKMmdQUWdhOW13d0lYd2FGc2FpbkQ4dW1kczhhbDNHWnFnPT0tLU1jM2U4UGwrTWExV3N1ZmtOd21GRVE9PQ%3D%3D--5b689fc4e581db1b07779ee4d40a10ff2623fc81
Connection: keep-alive
Cache-Control: max-age=0
Cache-Control: max-age=0, private, must-revalidate
Content-Type: text/html; charset=utf-8
Date: Tue, 24 Feb 2015 16:11:03 GMT
Etag: W/"c872dfbba8c2e5f713628118abf8b0e1"
Server: h2o/1.0.2-alpha1
Set-Cookie: _h2o_test_session=OU12eFh3dXdTUnVxWVhPUGdJeDd0QlA2ci9VdzhxS0g1NytHRkdxVHZSdnI1bnlQY3o0VVRlaURMSk1mVGl2aHlOSk03RW5jaEVnVWV5dXc3LzhGU3o3Szl3cnBiaWpWcUp0QVY2bE0vMFlLblUrdW1xTHJtd0V1a3gxNEpQQW5BdkJuYUdSbjd2UExkL040RGxjS3VnPT0tLXkrdUhDOXZ0VFh6K1RidysveDBOeFE9PQ%3D%3D--96fe521960faa32b7c3b408ccf43360c25051cd6; path=/; HttpOnly
X-Content-Type-Options: nosniff
X-Firefox-Spdy: h2-16
X-Frame-Options: SAMEORIGIN
X-Runtime: 0.043350
x-request-id: 69495664-6b24-409f-94d2-2291e9ac55a6
x-xss-protection: 1; mode=block
@kysnm
Copy link
Author

kysnm commented Feb 24, 2015

Firefox Developer Edition 37.0a2 (2015-02-23) aurora でも再現せず

@sonots
Copy link

sonots commented Feb 24, 2015

自分の環境だと 43.0.2314.0 canary (64-bit) でもダメだった(再現した)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment