UNPKG

h2cli

Version:

A command line interface for HTTP/2

357 lines 8.95 kB
{ "cases": [ { "seqno": 0, "wire": "8286418748cf18ceb90f4f847abcd07f66a281b0dae053fad0321aa49d13fda992a49685340c8a6adca7e28102ef7da9677b8171707f6a62293a9d810020004015309ac2ca7f2c05c5c153b0497ca589d34d1f43aeba0c41a4c7a98f33a69a3fdf9a68fa1d75d0620d263d4c79a68fbed00177febe58f9fbed00177b518b2d4b70ddf45abefb4005db90408721eaa8a4498f5788ea52d6b0e83772ff", "headers": [ { ":method": "GET" }, { ":scheme": "http" }, { ":authority": "taobao.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": "8286418af1e3c2e919e319d721e984c2c1c090bf", "headers": [ { ":method": "GET" }, { ":scheme": "http" }, { ":authority": "www.taobao.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": 2, "wire": "8286be048d60d5485f314d41e31d0bd73d7fc2c1c090bf", "headers": [ { ":method": "GET" }, { ":scheme": "http" }, { ":authority": "www.taobao.com" }, { ":path": "/index_global.php" }, { "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": "828641871ae98c9254b92a049362b625ad8100211b03420a94308ac642af31a5c3539a352398ac5754df46a473158f9fbed00177bebe58f9fbed00176fc290c1739c9d29aee30c78f1e1748cf18ceb90f4b06aa42f98a6a0f18e85eb9ebf", "headers": [ { ":method": "GET" }, { ":scheme": "http" }, { ":authority": "a.tbcdn.cn" }, { ":path": "/p/fp/2011a/assets/space.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.taobao.com/index_global.php" } ] }, { "seqno": 4, "wire": "8286c084c5538e497ca582211f5f2c7cfdf6800b87c490c3bf", "headers": [ { ":method": "GET" }, { ":scheme": "http" }, { ":authority": "a.tbcdn.cn" }, { ":path": "/" }, { "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0" }, { "accept": "text/css,*/*;q=0.1" }, { "accept-language": "en-US,en;q=0.5" }, { "accept-encoding": "gzip, deflate" }, { "connection": "keep-alive" }, { "referer": "http://www.taobao.com/index_global.php" } ] }, { "seqno": 5, "wire": "8286c1048a62b625ad8100219fab1fc6bec490c3bf", "headers": [ { ":method": "GET" }, { ":scheme": "http" }, { ":authority": "a.tbcdn.cn" }, { ":path": "/p/fp/2011hk/" }, { "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0" }, { "accept": "text/css,*/*;q=0.1" }, { "accept-language": "en-US,en;q=0.5" }, { "accept-encoding": "gzip, deflate" }, { "connection": "keep-alive" }, { "referer": "http://www.taobao.com/index_global.php" } ] }, { "seqno": 6, "wire": "8286c184c653032a2f2ac590c4c0", "headers": [ { ":method": "GET" }, { ":scheme": "http" }, { ":authority": "a.tbcdn.cn" }, { ":path": "/" }, { "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.taobao.com/index_global.php" } ] }, { "seqno": 7, "wire": "8286c2049b62b625ad810020231d10c4b5ad21ac2912b5761e93ad49aa5fa23fc7bec590c4c0", "headers": [ { ":method": "GET" }, { ":scheme": "http" }, { ":authority": "a.tbcdn.cn" }, { ":path": "/p/fp/2010c/js/fp-direct-promo-min.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.taobao.com/index_global.php" } ] }, { "seqno": 8, "wire": "8286418d3533002ba4678c6724952e43d3049c6135a183058de197b7317e1a897f3f073a38cc458200016680bf4ae6c8c2c690c5c1", "headers": [ { ":method": "GET" }, { ":scheme": "http" }, { ":authority": "img01.taobaocdn.com" }, { ":path": "/tps/i1/T1fqY2XilfXXahsVgc-1000-40.jpg" }, { "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.taobao.com/index_global.php" } ] }, { "seqno": 9, "wire": "8286be049e6135a183058de1b3f4de3f264cbf9f9f9f9f9f9f9f8b0420582cb6bd754dc8c2c690c5c1", "headers": [ { ":method": "GET" }, { ":scheme": "http" }, { ":authority": "img01.taobaocdn.com" }, { ":path": "/tps/i1/T1rZiwXgtfXXXXXXXX-110-135.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.taobao.com/index_global.php" } ] } ], "draft": 9, "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." }