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

69 lines
2.0 KiB
JSON

{
"max_header_table_size": 256,
"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": [
"4803 3330 37c1 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
}
]
}