#?SuikaWiki/0.9 page-icon="HTTP" * 仕様書から ** 定義 [1] > [INS[[[RFC2295]] 2.2 抜粋]] :list response: A list response returns the variant list of the negotiable resource, but no variant data. It can be generated when the server does not want to, or is not allowed to, return a particular best variant for the request. List responses are defined in section 10.1. [DFN[目録応答]]は、[[折衝可能資源]]の[[変種目録]]を返し、 [[変種]]のデータは返しません。 [[サーバー]]が[[要求]]についての特定の最善変種を返すことを望まないか、 又は返すことが許されていないときに、目録応答を生成することができます。 目録応答は10.1節で定義します。 ** RFC 2295 (HTTP 透過内容折衝) 10.1 List response [2] > A list response returns the variant list of the negotiable resource, but no variant data. It can be generated when the server does not want to, or is not allowed to, return a particular best variant for the request. If the user agent supports transparent content negotiation, the list response will cause it to select a best variant and retrieve it. [[目録応答]]は[[折衝可能資源]]の[[変種目録]]を返しますが[[変種データ]]は返しません。 目録応答はその要求に最善の特定の変種を返すことを[[サーバー]]が望まないか、 または認められていないときに生成できます。 [[利用者エージェント]]が[[投下内容折衝]]に対応する場合は、 目録応答は最善の変種を選択させてそれを取り出させることになります。 > A list response MUST contain (besides the normal headers required by HTTP) a TCN header which specifies the "list" response-type, the Alternates header bound to the negotiable resource, a Vary header and (unless it was a HEAD request) an entity body which allows the user to manually select the best variant. 目録応答は ([[HTTP]] で必要とされている通常の頭の他に) [CODE(HTTP)[[[list]]]] [CODE(ABNF)[response-type]] を指定した [CODE(HTTP)[[[TCN]]]] 頭と[[折衝可能資源]]に束縛された [CODE(HTTP)[[[Alternates]]]] 頭、 [CODE(HTTP)[[[Vary]]]] 頭と利用者が手動で最善の変種を選択できる[[実体本体]]を含まなければ'''なりません'''。 > An example of a list response is [PRE[ HTTP/1.1 300 Multiple Choices Date: Tue, 11 Jun 1996 20:02:21 GMT TCN: list Alternates: {"paper.1" 0.9 {type text/html} {language en}}, {"paper.2" 0.7 {type text/html} {language fr}}, {"paper.3" 1.0 {type application/postscript} {language en}} Vary: negotiate, accept, accept-language ETag: "blah;1234" Cache-control: max-age=86400 Content-Type: text/html Content-Length: 227