Code cleaning.
This commit is contained in:
@@ -376,7 +376,7 @@ feature -- Execution
|
|||||||
if ct = Void then
|
if ct = Void then
|
||||||
ct := {HTTP_MIME_TYPES}.application_force_download
|
ct := {HTTP_MIME_TYPES}.application_force_download
|
||||||
end
|
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)
|
fres.set_status_code ({HTTP_STATUS_CODE}.ok)
|
||||||
|
|
||||||
-- cache control
|
-- cache control
|
||||||
|
|||||||
@@ -69,8 +69,6 @@ feature -- Process
|
|||||||
|
|
||||||
process_group (g: ERROR_GROUP)
|
process_group (g: ERROR_GROUP)
|
||||||
-- <Precursor>
|
-- <Precursor>
|
||||||
local
|
|
||||||
l_errors: LIST [ERROR]
|
|
||||||
do
|
do
|
||||||
across
|
across
|
||||||
g.sub_errors as s
|
g.sub_errors as s
|
||||||
|
|||||||
Reference in New Issue
Block a user