Amedned class header of WSF_METHOD_NOT_ALLOWED_RESPONSE
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
note
|
note
|
||||||
description: "[
|
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$"
|
date: "$Date$"
|
||||||
revision: "$Revision$"
|
revision: "$Revision$"
|
||||||
@@ -108,7 +110,7 @@ feature {WSF_RESPONSE} -- Output
|
|||||||
end
|
end
|
||||||
|
|
||||||
l_html_error_code_text := html_error_code_text (l_messages, l_recognized)
|
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
|
if request.is_content_type_accepted ({HTTP_MIME_TYPES}.text_html) then
|
||||||
s := "<html lang=%"en%"><head>"
|
s := "<html lang=%"en%"><head>"
|
||||||
s.append ("<title>")
|
s.append ("<title>")
|
||||||
@@ -304,9 +306,9 @@ feature {NONE} -- Implementation
|
|||||||
ensure
|
ensure
|
||||||
html_error_code_text_attached: Result /= Void
|
html_error_code_text_attached: Result /= Void
|
||||||
end
|
end
|
||||||
|
|
||||||
note
|
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)"
|
license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
|
||||||
source: "[
|
source: "[
|
||||||
Eiffel Software
|
Eiffel Software
|
||||||
|
|||||||
Reference in New Issue
Block a user