Add HPACK test cases

This commit is contained in:
Carl Lerche
2017-05-31 14:44:58 -07:00
parent f45a4b4cd7
commit d3e4e036e3
421 changed files with 1789051 additions and 2 deletions

View File

@@ -0,0 +1,56 @@
{
"cases": [
{
"seqno": 0,
"wire": "87010b6578616d706c652e636f6d84820f2b0a687061636b2d746573740f110878787878787878310007782d68656c6c6f05776f726c64",
"headers": [
{
":scheme": "https"
},
{
":authority": "example.com"
},
{
":path": "/"
},
{
":method": "GET"
},
{
"user-agent": "hpack-test"
},
{
"cookie": "xxxxxxx1"
},
{
"x-hello": "world"
}
]
},
{
"seqno": 1,
"wire": "87010b6578616d706c652e636f6d84820f2b0a687061636b2d746573740f11087878787878787832",
"headers": [
{
":scheme": "https"
},
{
":authority": "example.com"
},
{
":path": "/"
},
{
":method": "GET"
},
{
"user-agent": "hpack-test"
},
{
"cookie": "xxxxxxx2"
}
]
}
],
"description": "http2 in Haskell: Static - static table=yes, header table=no, huffman=no"
}