Add HPACK test cases
This commit is contained in:
56
fixtures/hpack/haskell-http2-static/story_01.json
Normal file
56
fixtures/hpack/haskell-http2-static/story_01.json
Normal 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"
|
||||
}
|
||||
Reference in New Issue
Block a user