Actions
Feature #302
closedSupport If-Modified-Since
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
Actions