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

59 lines
1.3 KiB
JSON

{
"force_huffman_on": true,
"header_blocks":
[
{
"headers": [
{ ":method": "GET" },
{ ":scheme": "http" },
{ ":path": "/" },
{ ":authority": "www.example.com" }
],
"encoded": [
"8286 8441 8cf1 e3c2 e5f2 3a6b a0ab 90f4",
"ff"
],
"dynamic_table": [
{ ":authority": "www.example.com" }
],
"table_size": 57
},
{
"headers": [
{ ":method": "GET" },
{ ":scheme": "http" },
{ ":path": "/" },
{ ":authority": "www.example.com" },
{ "cache-control": "no-cache" }
],
"encoded": [
"8286 84be 5886 a8eb 1064 9cbf"
],
"dynamic_table": [
{ "cache-control": "no-cache" },
{ ":authority": "www.example.com" }
],
"table_size": 110
},
{
"headers": [
{ ":method": "GET" },
{ ":scheme": "https" },
{ ":path": "/index.html" },
{ ":authority": "www.example.com" },
{ "custom-key": "custom-value" }
],
"encoded": [
"8287 85bf 4088 25a8 49e9 5ba9 7d7f 8925",
"a849 e95b b8e8 b4bf"
],
"dynamic_table": [
{ "custom-key": "custom-value" },
{ "cache-control": "no-cache" },
{ ":authority": "www.example.com" }
],
"table_size": 164
}
]
}