author | Kim Alvefur <zash@zash.se> |
Fri, 21 Dec 2012 08:27:14 +0100 | |
changeset 5256 | a77c6eba461e |
parent 5255 | bf34f1ee08ee |
child 5257 | b125892e187c |
--- a/plugins/mod_http_files.lua Fri Dec 21 08:25:09 2012 +0100 +++ b/plugins/mod_http_files.lua Fri Dec 21 08:27:14 2012 +0100 @@ -68,7 +68,7 @@ local if_none_match = request_headers.if_none_match local if_modified_since = request_headers.if_modified_since; if etag == if_none_match - or last_modified == if_modified_since then + or (not if_none_match and last_modified == if_modified_since) then return 304; end