<html xmlns="http://www.w3.org/1999/xhtml" a0:Name="SuikaWiki" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:Version="0.9"><head></head><body><p><a0:anchor-end a0:anchor="1">[1]</a0:anchor-end> 【<a0:anchor>CGI</a0:anchor>】 <a0:anchor>HTTP要求</a0:anchor>の
<code class="HTTP"><a0:anchor>Accept</a0:anchor>:</code>
欄の内容が設定される CGI
<a0:anchor>メタ変数</a0:anchor>です。</p><p><a0:anchor>CGI/1.1</a0:anchor> では特に規定されたものではなく、
<code class="CGI"><a0:anchor>HTTP_<var>*</var></a0:anchor></code> メタ変数群の1つでしかありませんが、
<a0:anchor>CGI/1.0</a0:anchor> で特に規定されていたという歴史的理由から、
[NCSA] では例としてあげられています。</p><p><a0:anchor-end a0:anchor="2">[2]</a0:anchor-end> [NCSA]:</p><blockquote><p>The MIME types which the client will accept, as
given by HTTP headers. Other protocols may need to
get this information from elsewhere. Each item in
this list should be separated by commas as per the
HTTP spec. </p><p>Format: type/subtype, type/subtype </p></blockquote><blockquote><p>クライアントが受け入れる <a0:anchor>MIME型</a0:anchor>で、
HTTP 頭で与えられたものです。
他のプロトコルはこの情報を他の場所から取得する必要があるかもしれません。
この並び中の各項目は HTTP
仕様の通り読点で区切るべきです。</p><p>書式: <code>type/subtype, type/subtype</code></p></blockquote><p><a0:anchor-end a0:anchor="3">[3]</a0:anchor-end> <a0:anchor-internal a0:anchor="2">&gt;&gt;2</a0:anchor-internal> のように、 CGI/1.0 では HTTP 以外の要求を処理する時には HTTP 頭部に相当するほかの場所からこのメタ変数に値を設定することでプロトコル間の差異を吸収しようとしていました。実際に HTTP 以外のプロトコルで実装されたかは不明です。</p><p><a0:anchor-end a0:anchor="4">[4]</a0:anchor-end> この変数の値は、全体としては大文字・小文字を区別します。詳しくは <code class="HTTP"><a0:anchor>Accept</a0:anchor>:</code> 欄の説明をご覧ください。</p></body></html>