#?SuikaWiki/0.9 page-icon="HTTP" [[#comment]] * 仕様書から ** RFC 1945 (HTTP/1.0) 10.10; RFC 2068・2616 (HTTP/1.1) 14.29 Last-Modified > The Last-Modified entity-header field indicates the date and time at which the [DEL[sender]] [INS[origin server]] believes the [DEL[resource]] [INS[variant]] was last modified. [DEL[The exact semantics of this field are defined in terms of how the recipient should interpret it: if the recipient has a copy of this resource which is older than the date given by the Last-Modified field, that copy should be considered stale.]] [CODE(HTTP)[Last-Modified]] [[実体頭欄]]は、[DEL[[[送信者]]]][INS[[[起源サーバー]]]]がその[DEL[[[資源]]]][INS[[[変種]]]]が最後に修正されたと信ずる日付と時刻を示します。[DEL[この欄の正確な意味は、受信者がこれをどう解釈するべきかで定義します: 受信者がこの資源の複製を持っていて、それが [CODE(HTTP)[Last-Modified]] 欄に与えられた日付よりも古ければ、その複製は[[腐敗]]していると考えるべきです。]] > -Last-Modified = "Last-Modified" ":" HTTP-date > An example of its use is 使用例: > -Last-Modified: Tue, 15 Nov 1994 12:45:26 GMT > The exact meaning of this header field depends on the implementation of the [DEL[sender]] [INS[origin server]] and the nature of the original resource. For files, it may be just the file system last-modified time. For entities with dynamically included parts, it may be the most recent of the set of last-modify times for its component parts. For database gateways, it may be the last-update time[INS[ ]]stamp of the record. For virtual objects, it may be the last time the internal state changed. この頭欄の正確な意味は[DEL[送信者]][INS[起源サーバー]]の実装者と起源資源の性質に依存します。 [[ファイル]]であれば、丁度[[ファイル・システム]]の最終修正時刻になるかもしれません。 動的に取り込まれる部分を含む実体では、構成部分の最終修正時刻の集合の内の最新のものかもしれません。 [[データベース]]関門では、[[記録]]の最終更新時刻印かもしれません。 仮想物体では、最後に内部状態が変更された時刻かもしれません。 > An origin server [DEL[must not]] [INS[MUST NOT]] send a Last-Modified date which is later than the server's time of message origination. In such cases, where the resource's last modification would indicate some time in the future, the server [DEL[must]] [INS[MUST]] replace that date with the message origination date. [INS[An origin server [DEL[should]] [INS[SHOULD]] obtain the Last-Modified value of the entity as close as possible to the time that it generates the Date value of its response. This allows a recipient to make an accurate assessment of the entity's modification time, especially if the entity changes near the time that the response is generated.]] 起源サーバーは、メッセージ生成時のサーバーの時刻よりも後の [CODE(HTTP)[Last-Modified]] 日付を送っては'''なりません'''。 そのような場合、資源の最終修正が将来の時刻を示してしまう時には、 サーバーはその時刻をメッセージ生成時刻で置換えなければ'''なりません'''。[INS[起源サーバーは、その応答の [CODE(HTTP)[[[Date]]]] 値にできるだけ近い時刻にその実体の [CODE(HTTP)[Last-Modified]] 値を得る'''べきです'''。これによって、特にその応答が生成された時刻の近くでその実体が変更された場合に、受信者が実体の修正時刻を正確に査定できます。]] [INS[ > HTTP/1.1 servers SHOULD send Last-Modified whenever feasible. HTTP/1.1 サーバーは、可能であればいつでも [CODE(HTTP)[Last-Modified]] を送る'''べきです'''。 ]INS] [INS[ 訳注: 注記なき修正部は RFC 1945→2068 の差分。 ]INS] ** RFC 2326 (RTSP/1.0) 12.24 Last-Modified >The Last-Modified entity-header field indicates the date and time at which the origin server believes the presentation description or media stream was last modified. See [H14.29]. For the methods DESCRIBE or ANNOUNCE, the header field indicates the last modification date and time of the description, for SETUP that of the media stream. [1] Last-Modified 実体頭欄は、表現記述又は媒体 stream が最終修正されたと元サーバーが信じる日時を示します。 [H14.29] を参照。方式 DESCRIBE 又は ANNOUNCE については、この頭欄は記述の最終修正日時を示し、 SETUP については媒体 stream の日時を示します。 **RFC の部分の License [[RFCのライセンス]] *メモ