module

HT2::HPACK

Constants

HUFFMAN_TABLE = {0 => {8184, 13}, 1 => {8388568, 23}, 2 => {268435426, 28}, 3 => {268435427, 28}, 4 => {268435428, 28}, 5 => {268435429, 28}, 6 => {268435430, 28}, 7 => {268435431, 28}, 8 => {268435432, 28}, 9 => {16777194, 24}, 10 => {1073741820, 30}, 11 => {268435433, 28}, 12 => {268435434, 28}, 13 => {1073741821, 30}, 14 => {268435435, 28}, 15 => {268435436, 28}, 16 => {268435437, 28}, 17 => {268435438, 28}, 18 => {268435439, 28}, 19 => {268435440, 28}, 20 => {268435441, 28}, 21 => {268435442, 28}, 22 => {1073741822, 30}, 23 => {268435443, 28}, 24 => {268435444, 28}, 25 => {268435445, 28}, 26 => {268435446, 28}, 27 => {268435447, 28}, 28 => {268435448, 28}, 29 => {268435449, 28}, 30 => {268435450, 28}, 31 => {268435451, 28}, 32 => {20, 6}, 33 => {1016, 10}, 34 => {1017, 10}, 35 => {4090, 12}, 36 => {8185, 13}, 37 => {21, 6}, 38 => {248, 8}, 39 => {2042, 11}, 40 => {1018, 10}, 41 => {1019, 10}, 42 => {249, 8}, 43 => {2043, 11}, 44 => {250, 8}, 45 => {22, 6}, 46 => {23, 6}, 47 => {24, 6}, 48 => {0, 5}, 49 => {1, 5}, 50 => {2, 5}, 51 => {25, 6}, 52 => {26, 6}, 53 => {27, 6}, 54 => {28, 6}, 55 => {29, 6}, 56 => {30, 6}, 57 => {31, 6}, 58 => {92, 7}, 59 => {251, 8}, 60 => {32764, 15}, 61 => {32, 6}, 62 => {4091, 12}, 63 => {1020, 10}, 64 => {8186, 13}, 65 => {33, 6}, 66 => {93, 7}, 67 => {94, 7}, 68 => {95, 7}, 69 => {96, 7}, 70 => {97, 7}, 71 => {98, 7}, 72 => {99, 7}, 73 => {100, 7}, 74 => {101, 7}, 75 => {102, 7}, 76 => {103, 7}, 77 => {104, 7}, 78 => {105, 7}, 79 => {106, 7}, 80 => {107, 7}, 81 => {108, 7}, 82 => {109, 7}, 83 => {110, 7}, 84 => {111, 7}, 85 => {112, 7}, 86 => {113, 7}, 87 => {114, 7}, 88 => {252, 8}, 89 => {115, 7}, 90 => {253, 8}, 91 => {8187, 13}, 92 => {524272, 19}, 93 => {8188, 13}, 94 => {16380, 14}, 95 => {34, 6}, 96 => {32765, 15}, 97 => {3, 5}, 98 => {35, 6}, 99 => {4, 5}, 100 => {36, 6}, 101 => {5, 5}, 102 => {37, 6}, 103 => {38, 6}, 104 => {39, 6}, 105 => {6, 5}, 106 => {116, 7}, 107 => {117, 7}, 108 => {40, 6}, 109 => {41, 6}, 110 => {42, 6}, 111 => {7, 5}, 112 => {43, 6}, 113 => {118, 7}, 114 => {44, 6}, 115 => {8, 5}, 116 => {9, 5}, 117 => {45, 6}, 118 => {119, 7}, 119 => {120, 7}, 120 => {121, 7}, 121 => {122, 7}, 122 => {123, 7}, 123 => {32766, 15}, 124 => {2044, 11}, 125 => {16381, 14}, 126 => {8189, 13}, 256 => {1073741823, 30}}

Huffman encoding table from RFC 7541 Appendix B

STATIC_TABLE = [{":authority", ""}, {":method", "GET"}, {":method", "POST"}, {":path", "/"}, {":path", "/index.html"}, {":scheme", "http"}, {":scheme", "https"}, {":status", "200"}, {":status", "204"}, {":status", "206"}, {":status", "304"}, {":status", "400"}, {":status", "404"}, {":status", "500"}, {"accept-charset", ""}, {"accept-encoding", "gzip, deflate"}, {"accept-language", ""}, {"accept-ranges", ""}, {"accept", ""}, {"access-control-allow-origin", ""}, {"age", ""}, {"allow", ""}, {"authorization", ""}, {"cache-control", ""}, {"content-disposition", ""}, {"content-encoding", ""}, {"content-language", ""}, {"content-length", ""}, {"content-location", ""}, {"content-range", ""}, {"content-type", ""}, {"cookie", ""}, {"date", ""}, {"etag", ""}, {"expect", ""}, {"expires", ""}, {"from", ""}, {"host", ""}, {"if-match", ""}, {"if-modified-since", ""}, {"if-none-match", ""}, {"if-range", ""}, {"if-unmodified-since", ""}, {"last-modified", ""}, {"link", ""}, {"location", ""}, {"max-forwards", ""}, {"proxy-authenticate", ""}, {"proxy-authorization", ""}, {"range", ""}, {"referer", ""}, {"refresh", ""}, {"retry-after", ""}, {"server", ""}, {"set-cookie", ""}, {"strict-transport-security", ""}, {"transfer-encoding", ""}, {"user-agent", ""}, {"vary", ""}, {"via", ""}, {"www-authenticate", ""}]

HPACK static table as defined in RFC 7541 Appendix A

STATIC_TABLE_SIZE = STATIC_TABLE.size

Nested types