Source file src/vendor/golang.org/x/net/http2/hpack/static_table.go

     1  // go generate gen.go
     2  // Code generated by the command above; DO NOT EDIT.
     3  
     4  package hpack
     5  
     6  var staticTable = &headerFieldTable{
     7  	evictCount: 0,
     8  	byName: map[string]uint64{
     9  		":authority":                  1,
    10  		":method":                     3,
    11  		":path":                       5,
    12  		":scheme":                     7,
    13  		":status":                     14,
    14  		"accept-charset":              15,
    15  		"accept-encoding":             16,
    16  		"accept-language":             17,
    17  		"accept-ranges":               18,
    18  		"accept":                      19,
    19  		"access-control-allow-origin": 20,
    20  		"age":                         21,
    21  		"allow":                       22,
    22  		"authorization":               23,
    23  		"cache-control":               24,
    24  		"content-disposition":         25,
    25  		"content-encoding":            26,
    26  		"content-language":            27,
    27  		"content-length":              28,
    28  		"content-location":            29,
    29  		"content-range":               30,
    30  		"content-type":                31,
    31  		"cookie":                      32,
    32  		"date":                        33,
    33  		"etag":                        34,
    34  		"expect":                      35,
    35  		"expires":                     36,
    36  		"from":                        37,
    37  		"host":                        38,
    38  		"if-match":                    39,
    39  		"if-modified-since":           40,
    40  		"if-none-match":               41,
    41  		"if-range":                    42,
    42  		"if-unmodified-since":         43,
    43  		"last-modified":               44,
    44  		"link":                        45,
    45  		"location":                    46,
    46  		"max-forwards":                47,
    47  		"proxy-authenticate":          48,
    48  		"proxy-authorization":         49,
    49  		"range":                       50,
    50  		"referer":                     51,
    51  		"refresh":                     52,
    52  		"retry-after":                 53,
    53  		"server":                      54,
    54  		"set-cookie":                  55,
    55  		"strict-transport-security":   56,
    56  		"transfer-encoding":           57,
    57  		"user-agent":                  58,
    58  		"vary":                        59,
    59  		"via":                         60,
    60  		"www-authenticate":            61,
    61  	},
    62  	byNameValue: map[pairNameValue]uint64{
    63  		{name: ":authority", value: ""}:                   1,
    64  		{name: ":method", value: "GET"}:                   2,
    65  		{name: ":method", value: "POST"}:                  3,
    66  		{name: ":path", value: "/"}:                       4,
    67  		{name: ":path", value: "/index.html"}:             5,
    68  		{name: ":scheme", value: "http"}:                  6,
    69  		{name: ":scheme", value: "https"}:                 7,
    70  		{name: ":status", value: "200"}:                   8,
    71  		{name: ":status", value: "204"}:                   9,
    72  		{name: ":status", value: "206"}:                   10,
    73  		{name: ":status", value: "304"}:                   11,
    74  		{name: ":status", value: "400"}:                   12,
    75  		{name: ":status", value: "404"}:                   13,
    76  		{name: ":status", value: "500"}:                   14,
    77  		{name: "accept-charset", value: ""}:               15,
    78  		{name: "accept-encoding", value: "gzip, deflate"}: 16,
    79  		{name: "accept-language", value: ""}:              17,
    80  		{name: "accept-ranges", value: ""}:                18,
    81  		{name: "accept", value: ""}:                       19,
    82  		{name: "access-control-allow-origin", value: ""}:  20,
    83  		{name: "age", value: ""}:                          21,
    84  		{name: "allow", value: ""}:                        22,
    85  		{name: "authorization", value: ""}:                23,
    86  		{name: "cache-control", value: ""}:                24,
    87  		{name: "content-disposition", value: ""}:          25,
    88  		{name: "content-encoding", value: ""}:             26,
    89  		{name: "content-language", value: ""}:             27,
    90  		{name: "content-length", value: ""}:               28,
    91  		{name: "content-location", value: ""}:             29,
    92  		{name: "content-range", value: ""}:                30,
    93  		{name: "content-type", value: ""}:                 31,
    94  		{name: "cookie", value: ""}:                       32,
    95  		{name: "date", value: ""}:                         33,
    96  		{name: "etag", value: ""}:                         34,
    97  		{name: "expect", value: ""}:                       35,
    98  		{name: "expires", value: ""}:                      36,
    99  		{name: "from", value: ""}:                         37,
   100  		{name: "host", value: ""}:                         38,
   101  		{name: "if-match", value: ""}:                     39,
   102  		{name: "if-modified-since", value: ""}:            40,
   103  		{name: "if-none-match", value: ""}:                41,
   104  		{name: "if-range", value: ""}:                     42,
   105  		{name: "if-unmodified-since", value: ""}:          43,
   106  		{name: "last-modified", value: ""}:                44,
   107  		{name: "link", value: ""}:                         45,
   108  		{name: "location", value: ""}:                     46,
   109  		{name: "max-forwards", value: ""}:                 47,
   110  		{name: "proxy-authenticate", value: ""}:           48,
   111  		{name: "proxy-authorization", value: ""}:          49,
   112  		{name: "range", value: ""}:                        50,
   113  		{name: "referer", value: ""}:                      51,
   114  		{name: "refresh", value: ""}:                      52,
   115  		{name: "retry-after", value: ""}:                  53,
   116  		{name: "server", value: ""}:                       54,
   117  		{name: "set-cookie", value: ""}:                   55,
   118  		{name: "strict-transport-security", value: ""}:    56,
   119  		{name: "transfer-encoding", value: ""}:            57,
   120  		{name: "user-agent", value: ""}:                   58,
   121  		{name: "vary", value: ""}:                         59,
   122  		{name: "via", value: ""}:                          60,
   123  		{name: "www-authenticate", value: ""}:             61,
   124  	},
   125  	ents: []HeaderField{
   126  		{Name: ":authority", Value: "", Sensitive: false},
   127  		{Name: ":method", Value: "GET", Sensitive: false},
   128  		{Name: ":method", Value: "POST", Sensitive: false},
   129  		{Name: ":path", Value: "/", Sensitive: false},
   130  		{Name: ":path", Value: "/index.html", Sensitive: false},
   131  		{Name: ":scheme", Value: "http", Sensitive: false},
   132  		{Name: ":scheme", Value: "https", Sensitive: false},
   133  		{Name: ":status", Value: "200", Sensitive: false},
   134  		{Name: ":status", Value: "204", Sensitive: false},
   135  		{Name: ":status", Value: "206", Sensitive: false},
   136  		{Name: ":status", Value: "304", Sensitive: false},
   137  		{Name: ":status", Value: "400", Sensitive: false},
   138  		{Name: ":status", Value: "404", Sensitive: false},
   139  		{Name: ":status", Value: "500", Sensitive: false},
   140  		{Name: "accept-charset", Value: "", Sensitive: false},
   141  		{Name: "accept-encoding", Value: "gzip, deflate", Sensitive: false},
   142  		{Name: "accept-language", Value: "", Sensitive: false},
   143  		{Name: "accept-ranges", Value: "", Sensitive: false},
   144  		{Name: "accept", Value: "", Sensitive: false},
   145  		{Name: "access-control-allow-origin", Value: "", Sensitive: false},
   146  		{Name: "age", Value: "", Sensitive: false},
   147  		{Name: "allow", Value: "", Sensitive: false},
   148  		{Name: "authorization", Value: "", Sensitive: false},
   149  		{Name: "cache-control", Value: "", Sensitive: false},
   150  		{Name: "content-disposition", Value: "", Sensitive: false},
   151  		{Name: "content-encoding", Value: "", Sensitive: false},
   152  		{Name: "content-language", Value: "", Sensitive: false},
   153  		{Name: "content-length", Value: "", Sensitive: false},
   154  		{Name: "content-location", Value: "", Sensitive: false},
   155  		{Name: "content-range", Value: "", Sensitive: false},
   156  		{Name: "content-type", Value: "", Sensitive: false},
   157  		{Name: "cookie", Value: "", Sensitive: false},
   158  		{Name: "date", Value: "", Sensitive: false},
   159  		{Name: "etag", Value: "", Sensitive: false},
   160  		{Name: "expect", Value: "", Sensitive: false},
   161  		{Name: "expires", Value: "", Sensitive: false},
   162  		{Name: "from", Value: "", Sensitive: false},
   163  		{Name: "host", Value: "", Sensitive: false},
   164  		{Name: "if-match", Value: "", Sensitive: false},
   165  		{Name: "if-modified-since", Value: "", Sensitive: false},
   166  		{Name: "if-none-match", Value: "", Sensitive: false},
   167  		{Name: "if-range", Value: "", Sensitive: false},
   168  		{Name: "if-unmodified-since", Value: "", Sensitive: false},
   169  		{Name: "last-modified", Value: "", Sensitive: false},
   170  		{Name: "link", Value: "", Sensitive: false},
   171  		{Name: "location", Value: "", Sensitive: false},
   172  		{Name: "max-forwards", Value: "", Sensitive: false},
   173  		{Name: "proxy-authenticate", Value: "", Sensitive: false},
   174  		{Name: "proxy-authorization", Value: "", Sensitive: false},
   175  		{Name: "range", Value: "", Sensitive: false},
   176  		{Name: "referer", Value: "", Sensitive: false},
   177  		{Name: "refresh", Value: "", Sensitive: false},
   178  		{Name: "retry-after", Value: "", Sensitive: false},
   179  		{Name: "server", Value: "", Sensitive: false},
   180  		{Name: "set-cookie", Value: "", Sensitive: false},
   181  		{Name: "strict-transport-security", Value: "", Sensitive: false},
   182  		{Name: "transfer-encoding", Value: "", Sensitive: false},
   183  		{Name: "user-agent", Value: "", Sensitive: false},
   184  		{Name: "vary", Value: "", Sensitive: false},
   185  		{Name: "via", Value: "", Sensitive: false},
   186  		{Name: "www-authenticate", Value: "", Sensitive: false},
   187  	},
   188  }
   189  

View as plain text