Fixed HTTP_IF_MODIFIED_SINCE handling in WSF_FILE_SYSTEM_HANDLER ...
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user