netty5/codec-http2/src/test/resources/io/netty/handler/codec/http2/hpack/testdata/testDuplicateHeaders.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

68 lines
1.3 KiB
JSON

{
"force_huffman_on": true,
"header_blocks":
[
{
"headers": [
{ ":path": "/somepath" },
{ "x-custom": "val" }
],
"encoded": [
"4487 6107 a4b5 8d33 ff40 86f2 b12d 424f",
"4f83 ee3a 3f"
],
"dynamic_table": [
{ "x-custom": "val" },
{ ":path": "/somepath" }
],
"table_size": 89
},
{
"headers": [
{ ":path": "/somepath" },
{ "x-custom": "val" },
{ "x-custom": "val" }
],
"encoded": [
"bfbe be"
],
"dynamic_table": [
{ "x-custom": "val" },
{ ":path": "/somepath" }
],
"table_size": 89
},
{
"headers": [
{ ":path": "/somepath" },
{ "x-custom": "val" },
{ "foo": "bar" },
{ "x-custom": "val" }
],
"encoded": [
"bfbe 4082 94e7 838c 767f bf"
],
"dynamic_table": [
{ "foo": "bar" },
{ "x-custom": "val" },
{ ":path": "/somepath" }
],
"table_size": 127
},
{
"headers": [
{ ":path": "/somepath" }
],
"encoded": [
"c0"
],
"dynamic_table": [
{ "foo": "bar" },
{ "x-custom": "val" },
{ ":path": "/somepath" }
],
"table_size": 127
}
]
}