From 4cf3393a13a2bd12d50751552a5a1c9e8050b1df Mon Sep 17 00:00:00 2001 From: Jocelyn Fiat Date: Tue, 17 Jan 2012 17:37:26 +0100 Subject: [PATCH] Don't forget to put Content-Length: 0 for redirect without any content --- library/server/wsf/src/wsf_response.e | 1 + 1 file changed, 1 insertion(+) diff --git a/library/server/wsf/src/wsf_response.e b/library/server/wsf/src/wsf_response.e index 59985706..e6a1bc6e 100644 --- a/library/server/wsf/src/wsf_response.e +++ b/library/server/wsf/src/wsf_response.e @@ -242,6 +242,7 @@ feature -- Redirect else create h.make_with_count (1) h.put_location (a_url) + h.put_content_length (0) set_status_code (a_status_code) put_header_text (h.string) end