netty5/codec-http2/src/test/resources/io/netty/handler/codec/http2/hpack/testdata/testSpecExampleC6.json
nmittler 8accc52b03 Forking Twitter's hpack
Motivation:

The twitter hpack project does not have the support that it used to have.  See discussion here: https://github.com/netty/netty/issues/4403.

Modifications:

Created a new module in Netty and copied the latest from twitter hpack master.

Result:

Netty no longer depends on twitter hpack.
2015-11-14 10:13:32 -08:00

70 lines
2.1 KiB
JSON

{
"max_header_table_size": 256,
"force_huffman_on": true,
"header_blocks":
[
{
"headers": [
{ ":status": "302" },
{ "cache-control": "private" },
{ "date": "Mon, 21 Oct 2013 20:13:21 GMT" },
{ "location": "https://www.example.com" }
],
"encoded": [
"4882 6402 5885 aec3 771a 4b61 96d0 7abe",
"9410 54d4 44a8 2005 9504 0b81 66e0 82a6",
"2d1b ff6e 919d 29ad 1718 63c7 8f0b 97c8",
"e9ae 82ae 43d3"
],
"dynamic_table": [
{ "location": "https://www.example.com" },
{ "date": "Mon, 21 Oct 2013 20:13:21 GMT" },
{ "cache-control": "private" },
{ ":status": "302" }
],
"table_size": 222
},
{
"headers": [
{ ":status": "307" },
{ "cache-control": "private" },
{ "date": "Mon, 21 Oct 2013 20:13:21 GMT" },
{ "location": "https://www.example.com" }
],
"encoded": [
"4883 640e ffc1 c0bf"
],
"dynamic_table": [
{ ":status": "307" },
{ "location": "https://www.example.com" },
{ "date": "Mon, 21 Oct 2013 20:13:21 GMT" },
{ "cache-control": "private" }
],
"table_size": 222
},
{
"headers": [
{ ":status": "200" },
{ "cache-control": "private" },
{ "date": "Mon, 21 Oct 2013 20:13:22 GMT" },
{ "location": "https://www.example.com" },
{ "content-encoding": "gzip" },
{ "set-cookie": "foo=ASDJKHQKBZXOQWEOPIUAXQWEOIU; max-age=3600; version=1" }
],
"encoded": [
"88c1 6196 d07a be94 1054 d444 a820 0595",
"040b 8166 e084 a62d 1bff c05a 839b d9ab",
"77ad 94e7 821d d7f2 e6c7 b335 dfdf cd5b",
"3960 d5af 2708 7f36 72c1 ab27 0fb5 291f",
"9587 3160 65c0 03ed 4ee5 b106 3d50 07"
],
"dynamic_table": [
{ "set-cookie": "foo=ASDJKHQKBZXOQWEOPIUAXQWEOIU; max-age=3600; version=1" },
{ "content-encoding": "gzip" },
{ "date": "Mon, 21 Oct 2013 20:13:22 GMT" }
],
"table_size": 215
}
]
}