Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(739)

Side by Side Diff: net/http2/hpack/hpack_static_table_entries.inc

Issue 2606733004: Add HpackDecoderTables, static and dynamic tables for decoding HPACK. (Closed)
Patch Set: Rebase. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/http2/hpack/decoder/hpack_decoder_tables_test.cc ('k') | net/http2/hpack/hpack_string.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // This file is designed to be included by C/C++ files which need the contents
6 // of the HPACK static table. It may be included more than once if necessary.
7 // See http://httpwg.org/specs/rfc7541.html#static.table.definition
8
9 STATIC_TABLE_ENTRY(":authority", "", 1u);
10 STATIC_TABLE_ENTRY(":method", "GET", 2u);
11 STATIC_TABLE_ENTRY(":method", "POST", 3u);
12 STATIC_TABLE_ENTRY(":path", "/", 4u);
13 STATIC_TABLE_ENTRY(":path", "/index.html", 5u);
14 STATIC_TABLE_ENTRY(":scheme", "http", 6u);
15 STATIC_TABLE_ENTRY(":scheme", "https", 7u);
16 STATIC_TABLE_ENTRY(":status", "200", 8u);
17 STATIC_TABLE_ENTRY(":status", "204", 9u);
18 STATIC_TABLE_ENTRY(":status", "206", 10u);
19 STATIC_TABLE_ENTRY(":status", "304", 11u);
20 STATIC_TABLE_ENTRY(":status", "400", 12u);
21 STATIC_TABLE_ENTRY(":status", "404", 13u);
22 STATIC_TABLE_ENTRY(":status", "500", 14u);
23 STATIC_TABLE_ENTRY("accept-charset", "", 15u);
24 STATIC_TABLE_ENTRY("accept-encoding", "gzip, deflate", 16u);
25 STATIC_TABLE_ENTRY("accept-language", "", 17u);
26 STATIC_TABLE_ENTRY("accept-ranges", "", 18u);
27 STATIC_TABLE_ENTRY("accept", "", 19u);
28 STATIC_TABLE_ENTRY("access-control-allow-origin", "", 20u);
29 STATIC_TABLE_ENTRY("age", "", 21u);
30 STATIC_TABLE_ENTRY("allow", "", 22u);
31 STATIC_TABLE_ENTRY("authorization", "", 23u);
32 STATIC_TABLE_ENTRY("cache-control", "", 24u);
33 STATIC_TABLE_ENTRY("content-disposition", "", 25u);
34 STATIC_TABLE_ENTRY("content-encoding", "", 26u);
35 STATIC_TABLE_ENTRY("content-language", "", 27u);
36 STATIC_TABLE_ENTRY("content-length", "", 28u);
37 STATIC_TABLE_ENTRY("content-location", "", 29u);
38 STATIC_TABLE_ENTRY("content-range", "", 30u);
39 STATIC_TABLE_ENTRY("content-type", "", 31u);
40 STATIC_TABLE_ENTRY("cookie", "", 32u);
41 STATIC_TABLE_ENTRY("date", "", 33u);
42 STATIC_TABLE_ENTRY("etag", "", 34u);
43 STATIC_TABLE_ENTRY("expect", "", 35u);
44 STATIC_TABLE_ENTRY("expires", "", 36u);
45 STATIC_TABLE_ENTRY("from", "", 37u);
46 STATIC_TABLE_ENTRY("host", "", 38u);
47 STATIC_TABLE_ENTRY("if-match", "", 39u);
48 STATIC_TABLE_ENTRY("if-modified-since", "", 40u);
49 STATIC_TABLE_ENTRY("if-none-match", "", 41u);
50 STATIC_TABLE_ENTRY("if-range", "", 42u);
51 STATIC_TABLE_ENTRY("if-unmodified-since", "", 43u);
52 STATIC_TABLE_ENTRY("last-modified", "", 44u);
53 STATIC_TABLE_ENTRY("link", "", 45u);
54 STATIC_TABLE_ENTRY("location", "", 46u);
55 STATIC_TABLE_ENTRY("max-forwards", "", 47u);
56 STATIC_TABLE_ENTRY("proxy-authenticate", "", 48u);
57 STATIC_TABLE_ENTRY("proxy-authorization", "", 49u);
58 STATIC_TABLE_ENTRY("range", "", 50u);
59 STATIC_TABLE_ENTRY("referer", "", 51u);
60 STATIC_TABLE_ENTRY("refresh", "", 52u);
61 STATIC_TABLE_ENTRY("retry-after", "", 53u);
62 STATIC_TABLE_ENTRY("server", "", 54u);
63 STATIC_TABLE_ENTRY("set-cookie", "", 55u);
64 STATIC_TABLE_ENTRY("strict-transport-security", "", 56u);
65 STATIC_TABLE_ENTRY("transfer-encoding", "", 57u);
66 STATIC_TABLE_ENTRY("user-agent", "", 58u);
67 STATIC_TABLE_ENTRY("vary", "", 59u);
68 STATIC_TABLE_ENTRY("via", "", 60u);
69 STATIC_TABLE_ENTRY("www-authenticate", "", 61u);
OLDNEW
« no previous file with comments | « net/http2/hpack/decoder/hpack_decoder_tables_test.cc ('k') | net/http2/hpack/hpack_string.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698