From 91a3b8176ff31af3dbfbf6113983ecadabba5a59 Mon Sep 17 00:00:00 2001 From: Colin Adams Date: Wed, 20 Mar 2013 20:10:54 +0000 Subject: [PATCH] Amedned class header of WSF_METHOD_NOT_ALLOWED_RESPONSE --- .../wsf/src/response/wsf_method_not_allowed_response.e | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/library/server/wsf/src/response/wsf_method_not_allowed_response.e b/library/server/wsf/src/response/wsf_method_not_allowed_response.e index 17478ccd..ee8a6b8b 100644 --- a/library/server/wsf/src/response/wsf_method_not_allowed_response.e +++ b/library/server/wsf/src/response/wsf_method_not_allowed_response.e @@ -1,6 +1,8 @@ note description: "[ - This class is used to report a 405 Method not allowed response + This class is used to report a 405 Method not allowed response, + or a 501 not implemented response, depending upon whether + the method is known to the server. ]" date: "$Date$" revision: "$Revision$" @@ -108,7 +110,7 @@ feature {WSF_RESPONSE} -- Output end l_html_error_code_text := html_error_code_text (l_messages, l_recognized) - + if request.is_content_type_accepted ({HTTP_MIME_TYPES}.text_html) then s := "" s.append ("") @@ -304,9 +306,9 @@ feature {NONE} -- Implementation ensure html_error_code_text_attached: Result /= Void 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