h2cli
Version:
A command line interface for HTTP/2
376 lines (374 loc) • 9.2 kB
JSON
{
"context": "request",
"cases": [
{
"seqno": 0,
"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"
}
],
"header_table_size": 4096,
"wire": "82874387de9653c5f536df877eb9d6df7659624f0be06feb5a54cb9cdc6bec3785ce5d86d6951bc769bd0c20fc9d86c394c313e1f136a5abd9a720100101369660be0de87189f058b072fa38f5badb32a6fbec6292e636e3f4add6d9fe74b6cca9befb18a4b98db8fd2db3b3f9383f2e5fecffdf67f2707e4f578c5dd9bcf6e55ddd9fc9c1f87f578aabdd97e5352be1625cbf4087536eb96a731b7788f65aefcc9b19c97f"
},
{
"seqno": 1,
"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"
}
],
"header_table_size": 4096,
"wire": "46893f04f2629b73ec537f87"
},
{
"seqno": 2,
"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"
}
],
"header_table_size": 4096,
"wire": "488ae7cf9bfbd2ca78bea6db888289"
},
{
"seqno": 3,
"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"
}
],
"header_table_size": 4096,
"wire": "42903b2da8fbd2ca78eec7ad8da9a2fd4ce1479b65a9a967beeab2b2d4d4b3ff7d9fc9c1f932ff67fefb3f9383f0ff7f0190adcebe639f9f3e6fef4b29e2fa9b69ff1f1fa5edcfe1a3cfc344fdb10a22cfdc21dfdbde19e4d3dda0862efed8a0ee83b873c3dd369d538f898b"
},
{
"seqno": 4,
"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"
}
],
"header_table_size": 4096,
"wire": "43913a92aad67aac6ef4d8765b51eac5fa99c31f20a5edcfe1a3cfc344fdb10a22cfdc21dfdbde19e4d3dda0862efed8a0ee83b873c3dd369d538f84"
},
{
"seqno": 5,
"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/"
}
],
"header_table_size": 4096,
"wire": "458bc45fdf4e2e4b98a7d4db7f429f3e07e7cf99d49556b3d56377a6c3fae27726eab04db985f43f0285f07fd71f45032a2f2a848688"
},
{
"seqno": 6,
"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/"
}
],
"header_table_size": 4096,
"wire": "42993e07e7cf99d49556b3d56377a6c3fae27adb6af30bf23feb8f83"
},
{
"seqno": 7,
"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/"
}
],
"header_table_size": 4096,
"wire": "41973e07e7cf99d49556b3f1c5781fd713f1cc2fa1f81ff5c782"
},
{
"seqno": 8,
"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/"
}
],
"header_table_size": 4096,
"wire": "41903e07e7cf99d96d4766617c1f07efbaaf898284"
},
{
"seqno": 9,
"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"
}
],
"header_table_size": 4096,
"wire": "8b8c901f26a5edcfe1a3cfc344fdb10a22cfdc21dfdbde19e4d3dda0862efed8a0ee83b873c3dd369d538f81868889"
}
],
"draft": 5,
"description": "Encoded by node-http2-protocol. Encoder wrapper script: https://gist.github.com/molnarg/8375095"
}