#?SuikaWiki/0.9 page-icon="HTTP" [1] [CODE(HTTP)[ETag:]] 欄は、[[実体]]を相互に識別するための値 ([[実体札]] = [[entity-tag]]) を入れる欄です。 この値を[[内容折衝]]と組合せることで、[[キャッシュ]]などで嬉しいことになります。 *仕様書から **RFC [DEL(RFC2068)[2068]] [INS(RFC2616)[2616]] (HTTP/1.1) 14.[DEL(RFC2068)[20]][INS(RFC2616)[19]] ETag >The ETag [DEL(RFC2068)[entity]][INS(RFC2616)[response]]-header field [DEL(RFC2068)[defines]] [INS(RFC2616)[provides the current value of]] the entity tag for the [DEL(RFC2068)[associated]] [INS(RFC2616)[requested]] variant. The headers used with entity tags are described in sections [DEL(RFC2068)[14.20, 14.25]] [INS(RFC2616)[14.24]], 14.26 and 14.[DEL(RFC2068)[43]][INS(RFC2616)[44]]. The entity tag [DEL(RFC2068)[may]] [INS(RFC2616)[MAY]] be used for comparison with other entities from the same resource (see section 13.3.[DEL(RFC2068)[2]][INS(RFC2616)[3]]). [6] [CODE(HTTP)[ETag]] [DEL(RFC2068)[実体]][INS(RFC2616)[応答]]頭欄は、 [DEL(RFC2068)[関連付けられ]][INS(RFC2616)[要求され]]た変種の[[実体札]][DEL(RFC2068)[を定義]][INS(RFC2616)[の現在値を提供]]します。 実体札とともに使う頭は[DEL(RFC2068)[14.20節, 14.25節]] [INS(RFC2616)[14.24節]], 14.26節, 14.[DEL(RFC2068)[43]][INS(RFC2616)[44]]節 [INS[([[Vary:]>>11])]] で説明しているいます。 実体札は同じ資源のほかの実体との比較に使っても[DEL(RFC2068)[構いません]][INS(RFC2616)['''構いません''']] (13.3.[DEL(RFC2068)[2]][INS(RFC2616)[3]]節参照)。 -[2] [CODE(ABNF)[ETag = "ETag" ":" [[entity-tag]]]] >Examples: -[3] ETag: "xyzzy" -[4] ETag: W/"xyzzy" -[5] ETag: "" *RFC の部分の License [[RFCのライセンス]] *メモ