付録A. 静的テーブル定義 (Static Table Definition)
静的テーブル (第2.3.1節参照) は、事前定義された変更不可能なヘッダーフィールドのリストで構成されます。
静的テーブルは、HTTP/2固有の疑似ヘッダーフィールド ([HTTP2]の第8.1.2.1節参照) の追加とともに、人気のあるWebサイトで使用される最も一般的なヘッダーフィールドを決定することによって作成されました。
静的テーブルに表示されるヘッダーフィールドの場合、名前は常に静的テーブルエントリへの参照として送信され、値は静的テーブルエントリへの参照として、またはリテラルとしてエンコードされて送信されます。
次の表は、静的テーブルのエントリを順番にリストしています。「Index」列はエントリのインデックスを提供します。「Header Name」列はヘッダーフィールドの名前を提供します。「Header Value」列は、ヘッダーフィールドに格納されている値を提供します。
| Index | Header Name | Header Value |
|---|---|---|
| 1 | :authority | |
| 2 | :method | GET |
| 3 | :method | POST |
| 4 | :path | / |
| 5 | :path | /index.html |
| 6 | :scheme | http |
| 7 | :scheme | https |
| 8 | :status | 200 |
| 9 | :status | 204 |
| 10 | :status | 206 |
| 11 | :status | 304 |
| 12 | :status | 400 |
| 13 | :status | 404 |
| 14 | :status | 500 |
| 15 | accept-charset | |
| 16 | accept-encoding | gzip, deflate |
| 17 | accept-language | |
| 18 | accept-ranges | |
| 19 | accept | |
| 20 | access-control-allow-origin | |
| 21 | age | |
| 22 | allow | |
| 23 | authorization | |
| 24 | cache-control | |
| 25 | content-disposition | |
| 26 | content-encoding | |
| 27 | content-language | |
| 28 | content-length | |
| 29 | content-location | |
| 30 | content-range | |
| 31 | content-type | |
| 32 | cookie | |
| 33 | date | |
| 34 | etag | |
| 35 | expect | |
| 36 | expires | |
| 37 | from | |
| 38 | host | |
| 39 | if-match | |
| 40 | if-modified-since | |
| 41 | if-none-match | |
| 42 | if-range | |
| 43 | if-unmodified-since | |
| 44 | last-modified | |
| 45 | link | |
| 46 | location | |
| 47 | max-forwards | |
| 48 | proxy-authenticate | |
| 49 | proxy-authorization | |
| 50 | range | |
| 51 | referer | |
| 52 | refresh | |
| 53 | retry-after | |
| 54 | server | |
| 55 | set-cookie | |
| 56 | strict-transport-security | |
| 57 | transfer-encoding | |
| 58 | user-agent | |
| 59 | vary | |
| 60 | via | |
| 61 | www-authenticate |