netty5/codec-http2/src/test/resources/io/netty/handler/codec/http2/testdata/testSpecExampleC4.json
Scott Mitchell f9001b9fc0 HTTP/2 move internal HPACK classes to the http2 package
Motivation:
The internal.hpack classes are no longer exposed in our public APIs and can be made package private in the http2 package.

Modifications:
- Make the hpack classes package private in the http2 package

Result:
Less APIs exposed as public.
2017-03-02 07:42:41 -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
}
]
}