Skip to content

Instantly share code, notes, and snippets.

@devgs
devgs / http2_hpack_huffman_code_initializer_list_cpp.txt
Created September 7, 2017 10:27
HTTP2 HPACK Huffman Code table initializer list (C++ )
{
/* 0 */ { 0x00001ff8, 13 },
/* 1 */ { 0x007fffd8, 23 },
/* 2 */ { 0x0fffffe2, 28 },
/* 3 */ { 0x0fffffe3, 28 },
/* 4 */ { 0x0fffffe4, 28 },
/* 5 */ { 0x0fffffe5, 28 },
/* 6 */ { 0x0fffffe6, 28 },
/* 7 */ { 0x0fffffe7, 28 },
/* 8 */ { 0x0fffffe8, 28 },
@devgs
devgs / http2_hpack_static_table_initializer_list_cpp.txt
Last active September 7, 2017 06:50
HTTP2 HPACK Static table initializer list (C++ )
{
/* 0 */ { "", "" },
/* 1 */ { ":authority", "" },
/* 2 */ { ":method", "GET" },
/* 3 */ { ":method", "POST" },
/* 4 */ { ":path", "/" },
/* 5 */ { ":path", "/index.html" },
/* 6 */ { ":scheme", "http" },
/* 7 */ { ":scheme", "https" },
/* 8 */ { ":status", "200" },