Used res.put_header_lines (h) rather than res.put_header_text (h.string)

This commit is contained in:
2013-09-06 15:31:11 +02:00
parent 517720c99c
commit 5959099c55
2 changed files with 3 additions and 3 deletions

View File

@@ -20,7 +20,7 @@ feature -- Basic operations
do do
create l_header.make create l_header.make
l_header.put_access_control_allow_all_origin l_header.put_access_control_allow_all_origin
res.put_header_text (l_header.string) res.put_header_lines (l_header)
execute_next (req, res) execute_next (req, res)
end end

View File

@@ -98,14 +98,14 @@ feature {WSF_RESPONSE} -- Output
h.put_content_type_text_plain h.put_content_type_text_plain
end end
end end
res.put_header_text (h.string) res.put_header_lines (h)
if b /= Void then if b /= Void then
res.put_string (b) res.put_string (b)
end end
end end
note note
copyright: "2011-2012, Jocelyn Fiat, Javier Velilla, Olivier Ligot, Eiffel Software and others" copyright: "2011-2013, Jocelyn Fiat, Javier Velilla, Olivier Ligot, Eiffel Software and others"
license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)" license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
source: "[ source: "[
Eiffel Software Eiffel Software