*HTTP 実体頭欄 [1] [[HTTP]] [[メッセージ]]の[[頭部]]で使用する[[欄]]のうち、 [[実体本体]]についての情報を伝達するものを[DFN[[RUBYB[実体頭欄][entity header field]]]]といいます。 [15] [[実体頭欄]]の一覧は、[[HTTP//頭欄]]を参照して下さい。 -[2] HTTP RFCs で規定されていない追加の頭欄は、 HTTP RFCs 的には実体頭欄に分類されます。 -[3] [[chunked]] 符号化では実体頭欄を [[trailer]] に入れることが出来ます。 -[4] [CODE[ETag]] 欄は [[RFC2068]] では実体頭欄に分類されていましたが、 [[RFC2616]] では[[応答頭欄]]に分類されています。 -[5] [CODE[URI]] 欄は RFC 2068 では分類なしです。 (ここでは RFC 1945 に従い実体欄に分類しました。) -[6] [HTTP92] では Object Header lines と呼ばれています。 上の表のうち、 [CODE[Date]], [CODE[Public]] は後の HTTP では[[応答頭欄]]に分類されています。 [11] [CODE(HTTP)[Content-Length]] とか [CODE(HTTP)[Content-Range]] って、実体頭欄というより応答頭欄じゃないかなあ。 [14] [CODE(HTTP)[[[Content-Disposition]]]] は [[RFC 2616]] では[[応答頭欄]]。 [[#comment]] ** 仕様書から **** RFC 1945 (HTTP/1.0); RFC 2068・2616 (HTTP/1.1) 7.1 Entity Header Fields > [DEL[Entity-Header]] [INS[Entity-header]] fields define [DEL[[INS[{1945,2068}]] optional]] metainformation about the [DEL[Entity-Body]] [INS[entity-body]] or, if no body is present, about the resource identified by the request. 実体頭欄は [CODE(ABNF)[[[entity-body]]]] か、[[本体]]が無い場合にはその要求で識別される[[資源]]についての[DEL[省略可能な]][[メタ情報]]を定義します。 [INS[ >[INS[{2616}]] Some of this metainformation is OPTIONAL; some might be REQUIRED by portions of this specification. このメタ情報の幾つかは'''[[任意選択]]''''です。 いくつかはこの仕様書のどこかで'''[[必須]]'''とされているかもしれません。 ]INS] [DEL[ [DEL[ >[INS[{1945}]] - [PRE[ Entity-Header = Allow ; Section 10.1 | Content-Encoding ; Section 10.3 | Content-Length ; Section 10.4 | Content-Type ; Section 10.5 | Expires ; Section 10.7 | Last-Modified ; Section 10.10 | extension-header ]PRE] ]DEL] [INS[ >[INS[{2068}]] - [PRE[ entity-header = Allow ; Section 14.7 | Content-Base ; Section 14.11 | Content-Encoding ; Section 14.12 | Content-Language ; Section 14.13 | Content-Length ; Section 14.14 | Content-Location ; Section 14.15 | Content-MD5 ; Section 14.16 | Content-Range ; Section 14.17 | Content-Type ; Section 14.18 | ETag ; Section 14.20 | Expires ; Section 14.21 | Last-Modified ; Section 14.29 | extension-header ]PRE] ]DEL] [INS[ >[INS[{2616}]] - [PRE[ entity-header = Allow ; Section 14.7 | Content-Encoding ; Section 14.11 | Content-Language ; Section 14.12 | Content-Length ; Section 14.13 | Content-Location ; Section 14.14 | Content-MD5 ; Section 14.15 | Content-Range ; Section 14.16 | Content-Type ; Section 14.17 | Expires ; Section 14.21 | Last-Modified ; Section 14.29 | extension-header ]PRE] ]INS] > -[DEL[ extension-header = HTTP-header]] -[INS[ extension-header = message-header]] > The extension-header mechanism allows additional [DEL[Entity-Header]] [INS[entity-header]] fields to be defined without changing the protocol, but these fields cannot be assumed to be recognizable by the recipient. Unrecognized header fields [DEL[should]] [INS[SHOULD]] be ignored by the recipient and [INS[[INS[{2616}]] MUST be]] forwarded by [INS[[INS[{2616}]] transparent]] proxies. [CODE(ABNF)[extension-header]] 機構によって、追加の実体頭欄をプロトコルを変更せずに定義できますが、 その欄は受信者が認識することを仮定できません。 受信者は認識出来ない頭を無視する'''べきです'''し、[[透過串]]は無視しなければ'''なりません'''。 [INS[ 注: 注記なき変更点は 1945→2068 のもの。 ]INS] * RTSP 頭欄 [8] ,[CODE(RTSP)[[[Allow]]]] ,[RFC 2326] ,[CODE(RTSP)[[[Content-Base]]]] ,[RFC 2326] ,[CODE(RTSP)[[[Content-Encoding]]]] ,[RFC 2326] ,[CODE(RTSP)[[[Content-Language]]]] ,[RFC 2326] ,[CODE(RTSP)[[[Content-Length]]]] ,[RFC 2326] ,[CODE(RTSP)[[[Content-Location]]]] ,[RFC 2326] ,[CODE(RTSP)[[[Content-Type]]]] ,[RFC 2326] ,[CODE(RTSP)[[[Expires]]]] ,[RFC 2326] ,[CODE(RTSP)[[[Last-Modified]]]] ,[RFC 2326] - [9] [[RTSP]] でも HTTP 同様、追加の頭欄は実体頭欄扱いになります。 [[#comment]] * SIP 実体頭欄 [10] ,[CODE(SIP)[[[Content-Disposition]]]] ,[RFC 3261] ,[CODE(SIP)[[[Content-Encoding]]]] ,"[RFC 2543], [RFC 3261]" ,[CODE(SIP)[[[Content-Language]]]] ,"[RFC 2543], [RFC 3261]" ,[CODE(SIP)[[[Content-Length]]]] ,[RFC 3261] ,[CODE(SIP)[[[Content-Type]]]] ,"[RFC 2543], [RFC 3261]" ,[CODE(SIP)[[[c]]]] == Content-Type ,"[RFC 2543], [RFC 3261]" ,[CODE(SIP)[[[e]]]] == Content-Encoding ,"[RFC 2543], [RFC 3261]" ,[CODE(SIP)[[[l]]]] == Content-Length ,"[RFC 2543], [RFC 3261]" [[#comment]] *メイル・ニュース頭欄 [13] [[電子メイル//頭欄]]・[[電子ニュース//頭欄]]のうち、 メッセージ[[実体]]の性質を表す頭欄です。 ,名前 ,意味 ,メイル,ニュース ,[[Article-Names]] ,記事名 , ,○ ,[[Base]] ,[[基底URI]] ,○ ,[[Comments]] ,注釈 ,○, ,[[DL-Expansion-History-Indication]], ,○ ,[[Encoding]] , ,○ ,[[Encrypted]] ,[[暗号化]] ,○, ,[[Importance]] ,重要度 ,○ ,[[Keywords]] ,鍵言葉 ,○,○ ,[[Language]] ,内容言語 ,○ ,[[Lines]] ,行数 , ,○ ,[[Link]] ,[[ハイパーリンク]],○ ,[[Mail-System-Version]], ,○ ,[[Mailer]] ,メイラー ,○ ,[[Message-Context]] , ,○ ,[[Message-Type]] , ,○ ,[[MIME-Version]] ,[[MIME]] 版 ,○,○ ,[[Original-Encoded-Information-Types]],,○ ,[[Originating-Client]] , ,[[Priority]] ,優先度 ,○ ,[[Sensitivity]] ,親展度 ,○ ,[[Subject]] ,[[主題]] ,○,◎ ,[[Summary]] ,要約 , ,○ ,[[User-Agent]] ,[[利用者エージェント]],○,○ ,[[X-Mailer]] ,メイラー ,○ ,[[X-Mew]] ,[[Mew]] ,○,○ ,[[X-Newsreader]] ,ニュース読者 , ,○ ,[[X-NSubject]] ,日本語主題 ,○,○ ,[[X-Priority]] ,優先度 ,○ ,[[MIME頭欄]]など、 [CODE[Contetn-]] で始まるもの,==,○,○ - [7] [CODE[User-Agent:]] 系の欄をここに分類するのは不適当じゃない? [[#comment]] * RFC の部分の License [[RFCのライセンス]] *メモ