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

{
"force_huffman_off": true,
"header_blocks":
[
{
"headers": [
{ ":method": "GET" },
{ ":scheme": "http" },
{ ":path": "/" },
{ ":authority": "www.example.com" }
],
"encoded": [
"8286 8441 0f77 7777 2e65 7861 6d70 6c65",
"2e63 6f6d"
],
"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 5808 6e6f 2d63 6163 6865"
],
"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 400a 6375 7374 6f6d 2d6b 6579",
"0c63 7573 746f 6d2d 7661 6c75 65"
],
"dynamic_table": [
{ "custom-key": "custom-value" },
{ "cache-control": "no-cache" },
{ ":authority": "www.example.com" }
],
"table_size": 164
}
]
}