From 3d8e27700328590b376d1f46c8add07d7b4ef72f Mon Sep 17 00:00:00 2001 From: Jocelyn Fiat Date: Wed, 19 Dec 2012 16:43:07 +0100 Subject: [PATCH] Fixed WSF_TRACE_RESPONSE which was overwritting previously prepared content. --- library/server/wsf/src/response/wsf_trace_response.e | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/library/server/wsf/src/response/wsf_trace_response.e b/library/server/wsf/src/response/wsf_trace_response.e index 5e0e6ee0..d4c2709e 100644 --- a/library/server/wsf/src/response/wsf_trace_response.e +++ b/library/server/wsf/src/response/wsf_trace_response.e @@ -35,6 +35,7 @@ feature {WSF_RESPONSE} -- Output send_to (res: WSF_RESPONSE) local s: STRING + t: STRING h: like header req: like request n, nb: INTEGER @@ -87,10 +88,12 @@ feature {WSF_RESPONSE} -- Output end res.flush else - req.read_input_data_into (s) - h.put_content_length (s.count) + create t.make (req.content_length_value.to_integer_32) + req.read_input_data_into (t) + h.put_content_length (s.count + t.count) res.put_header_text (h.string) res.put_string (s) + res.put_string (t) res.flush end end