Project

General

Profile

Actions

Feature #302

closed

Support If-Modified-Since

Added by Wido den Hollander almost 14 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

"The If-Modified-Since request-header field is used with a method to make it conditional: if the requested variant has not been modified since the time specified in this field, an entity will not be returned from the server; instead, a 304 (not modified) response will be returned without any message-body. "

Source: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html

We should support this now we also sent out the Last-Modified header, we should also support this conditional header.

Compare the time sent in this header with the mtime of a object should be sufficient. If the object is newer then the specified time, return the content, else reply with a 304 header.


Files

0001-rgw-Parse-times-correctly-and-convert-them-to-GMT-so.patch (905 Bytes) 0001-rgw-Parse-times-correctly-and-convert-them-to-GMT-so.patch Wido den Hollander, 07/23/2010 02:35 PM
gmt_times.patch (1.93 KB) gmt_times.patch Convert all times to GMT Wido den Hollander, 07/26/2010 02:01 PM
Actions

Also available in: Atom PDF