From 5959099c5584c78456468457b725a04a4d05c99e Mon Sep 17 00:00:00 2001 From: Jocelyn Fiat Date: Fri, 6 Sep 2013 15:31:11 +0200 Subject: [PATCH] Used res.put_header_lines (h) rather than res.put_header_text (h.string) --- library/server/wsf/router/filter/wsf_cors_filter.e | 2 +- library/server/wsf/src/response/wsf_page_response.e | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/library/server/wsf/router/filter/wsf_cors_filter.e b/library/server/wsf/router/filter/wsf_cors_filter.e index 75db6afe..48ec1bc1 100644 --- a/library/server/wsf/router/filter/wsf_cors_filter.e +++ b/library/server/wsf/router/filter/wsf_cors_filter.e @@ -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 diff --git a/library/server/wsf/src/response/wsf_page_response.e b/library/server/wsf/src/response/wsf_page_response.e index 4a11bbbb..ced6ba75 100644 --- a/library/server/wsf/src/response/wsf_page_response.e +++ b/library/server/wsf/src/response/wsf_page_response.e @@ -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