Used res.put_header_lines (h) rather than res.put_header_text (h.string)
This commit is contained in:
@@ -20,7 +20,7 @@ feature -- Basic operations
|
||||
do
|
||||
create l_header.make
|
||||
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)
|
||||
end
|
||||
|
||||
|
||||
@@ -98,14 +98,14 @@ feature {WSF_RESPONSE} -- Output
|
||||
h.put_content_type_text_plain
|
||||
end
|
||||
end
|
||||
res.put_header_text (h.string)
|
||||
res.put_header_lines (h)
|
||||
if b /= Void then
|
||||
res.put_string (b)
|
||||
end
|
||||
end
|
||||
|
||||
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)"
|
||||
source: "[
|
||||
Eiffel Software
|
||||
|
||||
Reference in New Issue
Block a user