Fixed HTTP_IF_MODIFIED_SINCE handling in WSF_FILE_SYSTEM_HANDLER ...

This commit is contained in:
Jocelyn Fiat
2013-03-01 18:19:51 +01:00
parent 441cf86eda
commit 98f3739c7c

View File

@@ -204,7 +204,8 @@ feature -- Execution
if if
attached req.meta_string_variable ("HTTP_IF_MODIFIED_SINCE") as s_if_modified_since and then attached req.meta_string_variable ("HTTP_IF_MODIFIED_SINCE") as s_if_modified_since and then
attached http_date_format_to_date (s_if_modified_since) as l_if_modified_since_date and then attached http_date_format_to_date (s_if_modified_since) as l_if_modified_since_date and then
attached file_date (f) as f_date and then (f_date >= l_if_modified_since_date) attached file_date (f) as f_date and then
f_date <= l_if_modified_since_date
then then
process_not_modified (f_date, req, res) process_not_modified (f_date, req, res)
else else