Add HPACK test cases
This commit is contained in:
62
fixtures/hpack/go-hpack/story_00.json
Normal file
62
fixtures/hpack/go-hpack/story_00.json
Normal file
@@ -0,0 +1,62 @@
|
||||
{
|
||||
"description": "https://github.com/Jxck/hpack implemeted in Golang. Encoded using String Literal with Huffman, no Header/Static Table, and always start with emptied Reference Set. by Jxck.",
|
||||
"cases": [
|
||||
{
|
||||
"seqno": 0,
|
||||
"header_table_size": 4096,
|
||||
"wire": "0085b9495339e483c5837f0085b8824e5a4b839d29af0088b83b5339ec327d7f88f439ce75c875fa570084b958d33f8163",
|
||||
"headers": [
|
||||
{
|
||||
":method": "GET"
|
||||
},
|
||||
{
|
||||
":scheme": "http"
|
||||
},
|
||||
{
|
||||
":authority": "yahoo.co.jp"
|
||||
},
|
||||
{
|
||||
":path": "/"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"seqno": 1,
|
||||
"header_table_size": 4096,
|
||||
"wire": "0085b9495339e483c5837f0085b8824e5a4b839d29af0088b83b5339ec327d7f8cf1e3c2fe8739ceb90ebf4aff0084b958d33f8163",
|
||||
"headers": [
|
||||
{
|
||||
":method": "GET"
|
||||
},
|
||||
{
|
||||
":scheme": "http"
|
||||
},
|
||||
{
|
||||
":authority": "www.yahoo.co.jp"
|
||||
},
|
||||
{
|
||||
":path": "/"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"seqno": 2,
|
||||
"header_table_size": 4096,
|
||||
"wire": "0085b9495339e483c5837f0085b8824e5a4b839d29af0088b83b5339ec327d7f87eabfa35332fd2b0084b958d33f9b60d48e62a1849eb611589825353141e63ad52160b206c4f2f5d537",
|
||||
"headers": [
|
||||
{
|
||||
":method": "GET"
|
||||
},
|
||||
{
|
||||
":scheme": "http"
|
||||
},
|
||||
{
|
||||
":authority": "k.yimg.jp"
|
||||
},
|
||||
{
|
||||
":path": "/images/top/sp2/cmn/logo-ns-130528.png"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user