Files
h2/fixtures/hpack/nghttp2/story_04.json
2017-05-31 14:44:58 -07:00

362 lines
8.9 KiB
JSON

{
"cases": [
{
"seqno": 0,
"wire": "828641878c6692d5c87a7f847abcd07f66a281b0dae053fad0321aa49d13fda992a49685340c8a6adca7e28102ef7da9677b8171707f6a62293a9d810020004015309ac2ca7f2c05c5c153b0497ca589d34d1f43aeba0c41a4c7a98f33a69a3fdf9a68fa1d75d0620d263d4c79a68fbed00177febe58f9fbed00177b518b2d4b70ddf45abefb4005db90408721eaa8a4498f5788ea52d6b0e83772ff",
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "baidu.com"
},
{
":path": "/"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
}
]
},
{
"seqno": 1,
"wire": "8286c204896251f7310f52e621ffc1c0bf90be",
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "baidu.com"
},
{
":path": "/favicon.ico"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
}
]
},
{
"seqno": 2,
"wire": "8286418af1e3c2f18cd25ab90f4f84c2c1c090bf",
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "www.baidu.com"
},
{
":path": "/"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
}
]
},
{
"seqno": 3,
"wire": "8286be049060d4ccc4633496c48f541e6385798d2fc2539a352398ac5754df46a473158f9fbed00177bebe58f9fbed00176fc190c073909d29aee30c78f1e178c6692d5c87a58f60a4bb0e4bfc325f82eb8165c86f04182ee0042f61bd7c417305d71abcd5e0c2ddeb9871401f",
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "www.baidu.com"
},
{
":path": "/img/baidu_sylogo1.gif"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.baidu.com/"
},
{
"cookie": "BAIDUID=B6136AC10EBE0A8FCD216EB64C4C1A5C:FG=1"
}
]
},
{
"seqno": 4,
"wire": "8286c10491608324e5626a0f18e860d4ccc4c85e634bc5c0c390c2bfbe",
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "www.baidu.com"
},
{
":path": "/cache/global/img/gs.gif"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.baidu.com/"
},
{
"cookie": "BAIDUID=B6136AC10EBE0A8FCD216EB64C4C1A5C:FG=1"
}
]
},
{
"seqno": 5,
"wire": "8286418a40578e442469311721e9049f62c63c78f0c10649cac4d41e31d0c7443091d53583a560aecaed102b817e88c653032a2f2ac590c4c1",
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "s1.bdstatic.com"
},
{
":path": "/r/www/cache/global/js/tangram-1.3.4c1.0.js"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "*/*"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.baidu.com/"
}
]
},
{
"seqno": 6,
"wire": "8286bf049962c63c78f0c10649cac4d41e31d0c7443139e92ac15de5fa23c7bec590c4c1",
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "s1.bdstatic.com"
},
{
":path": "/r/www/cache/global/js/home-1.8.js"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "*/*"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.baidu.com/"
}
]
},
{
"seqno": 7,
"wire": "8286bf049762c63c78f0c10649cac5a82d8c744316ac15d95da5fa23c7bec590c4c1",
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "s1.bdstatic.com"
},
{
":path": "/r/www/cache/user/js/u-1.3.4.js"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "*/*"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.baidu.com/"
}
]
},
{
"seqno": 8,
"wire": "8286bf049162c63c78f0c1a999832c15c0b817aea9bfc7c2c590c4c1",
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "s1.bdstatic.com"
},
{
":path": "/r/www/img/i-1.0.0.png"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "image/png,image/*;q=0.8,*/*;q=0.5"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"referer": "http://www.baidu.com/"
}
]
},
{
"seqno": 9,
"wire": "8286c304896251f7310f52e621ffc7c6c590c4c0",
"headers": [
{
":method": "GET"
},
{
":scheme": "http"
},
{
":authority": "www.baidu.com"
},
{
":path": "/favicon.ico"
},
{
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0"
},
{
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
},
{
"accept-language": "en-US,en;q=0.5"
},
{
"accept-encoding": "gzip, deflate"
},
{
"connection": "keep-alive"
},
{
"cookie": "BAIDUID=B6136AC10EBE0A8FCD216EB64C4C1A5C:FG=1"
}
]
}
],
"description": "Encoded by nghttp2. The basic encoding strategy is described in http://lists.w3.org/Archives/Public/ietf-http-wg/2013JulSep/1135.html We use huffman encoding only if it produces strictly shorter byte string than original. We make some headers not indexing at all, but this does not always result in less bits on the wire."
}