Code cleaning.

This commit is contained in:
Jocelyn Fiat
2017-09-21 10:26:29 +02:00
parent cdada71f7e
commit 97fe16b4c2
2 changed files with 1 additions and 3 deletions

View File

@@ -376,7 +376,7 @@ feature -- Execution
if ct = Void then
ct := {HTTP_MIME_TYPES}.application_force_download
end
create fres.make_with_content_type (ct, f.path.name)
create fres.make_with_content_type_and_path (ct, f.path)
fres.set_status_code ({HTTP_STATUS_CODE}.ok)
-- cache control

View File

@@ -69,8 +69,6 @@ feature -- Process
process_group (g: ERROR_GROUP)
-- <Precursor>
local
l_errors: LIST [ERROR]
do
across
g.sub_errors as s