[19] 応答メッセージのヘッダーを、応答ヘッダーといいます。
[18] HTTPヘッダーの一覧を参照してください。
[15] RFC 2616 までは応答メッセージのヘッダーのうち、 一般ヘッダーと実体ヘッダーを除いたものを応答ヘッダーと呼んでいましたが (世間一般での用法とずれていました)、 RFC 7231 ではそのような分類はされなくなっています。
[1] 応答 (response) 頭欄には、応答に関する情報を持つ頭欄が分類されます。
[14] 実体頭欄の一覧は、HTTP//頭欄を参照して下さい。
Warning
欄は RFC2068 では応答頭欄でしたが、 RFC2616
で一般頭欄に変更されました。Accept-Ranges
欄は RFC 2068 の ABNF では欠落しています。ETag
欄は RFC 2068 では実体頭欄でしたが、 RFC 2616 で応答頭欄に分類されます。DAV
欄は RFC2518 では分類なし。Query-UTF-8
欄は要求頭欄かつ応答頭欄です。The {2068,2616} response-header fields allow the server to pass additional information about the response which cannot be placed in the Status-Line. These header fields give information about the server and about further access to the resource identified by the Request-URI.
応答頭欄で、サーバーは Status-Line
に入れることのできない応答についての追加の情報を渡すことができます。
応答頭欄はサーバーについての情報および Request-URI
で識別される資源への更なる接続についての情報を与えます。
{1945}
Response-Header = Location ; Section 10.11 | Server ; Section 10.14 | WWW-Authenticate ; Section 10.16
{2068}
response-header = Age ; Section 14.6 | Location ; Section 14.30 | Proxy-Authenticate ; Section 14.33 | Public ; Section 14.35 | Retry-After ; Section 14.38 | Server ; Section 14.39 | Vary ; Section 14.43 | Warning ; Section 14.45 | WWW-Authenticate ; Section 14.46
{2616}
response-header = Accept-Ranges ; Section 14.5 | Age ; Section 14.6 | ETag ; Section 14.19 | Location ; Section 14.30 | Proxy-Authenticate ; Section 14.33 | Retry-After ; Section 14.37 | Server ; Section 14.38 | Vary ; Section 14.44 | WWW-Authenticate ; Section 14.47
Response-HeaderResponse-header field names can be extended reliably only in combination with a change in the protocol version. However, new or experimental header fieldsmayMAY be given the semantics of response-header fields if all parties in the communication recognize them to be response-header fields. Unrecognized header fields are treated asEntity-Headerentity-header fields.
応答頭欄名は、プロトコルの版の変更と組合せてのみ確実に拡張できます。 しかし、新しいあるいは実験的な頭欄は、 通信のすべての当事者がこれを応答頭欄であると認識すれば、 応答頭欄の意味を与えても構いません。 認識できない頭欄は実体頭欄として扱われます。
Location | [RFC 2326] |
Proxy-Authenticate | [RFC 2326] |
Range: * | [RFC 2326] |
Retry-After: | [RFC 2326] |
RTP-Info: | [RFC 2326] |
Scale: | [RFC 2326] |
Server: | [RFC 2326] |
Session: * | [RFC 2326] |
Transport: * | [RFC 2326] |
Unsupported: | [RFC 2326] |
Vary: | [RFC 2326] |
WWW-Authenticate: | [RFC 2326] |
Allow: | [RFC 2543], ** |
Authorization-Info: | [RFC 3261] |
Min-Expires: | [RFC 3261] |
P-Assosiated-URI: | [RFC 3455] |
Proxy-Authenticate: | [RFC 2543], [RFC 3261] |
Retry-After: | [RFC 2543], [RFC 3261] |
RSeq: | [RFC 3262] |
Security-Server: | [RFC 3329] |
Server: | [RFC 2543], [RFC 3261] |
Unsupported: | [RFC 2543], [RFC 3261] |
Warning: | [RFC 2543], [RFC 3261] |
WWW-Authenticate: | [RFC 2543], [RFC 3261] |
[20] 要求メッセージのヘッダーのことを要求ヘッダーといいます。 ヘッダーには要求ヘッダーとしてのみ使うことができるもの、 応答ヘッダーとしてのみ使うことができるもの、 要求ヘッダーとしても応答ヘッダーとしても使うことができるものがあります。