Fixed default status code for redirection response message object.
This commit is contained in:
@@ -26,7 +26,7 @@ feature {NONE} -- Initialization
|
|||||||
url_location := a_url_location
|
url_location := a_url_location
|
||||||
delay := a_delay_in_seconds
|
delay := a_delay_in_seconds
|
||||||
make_html
|
make_html
|
||||||
set_status_code ({HTTP_STATUS_CODE}.found)
|
status_code := {HTTP_STATUS_CODE}.found
|
||||||
end
|
end
|
||||||
|
|
||||||
feature -- Header
|
feature -- Header
|
||||||
@@ -65,7 +65,7 @@ feature {NONE} -- Output
|
|||||||
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
|
||||||
|
|||||||
@@ -197,7 +197,7 @@ feature {NONE} -- HTML Generation
|
|||||||
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
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ feature {NONE} -- Initialization
|
|||||||
|
|
||||||
make (a_url_location: like url_location)
|
make (a_url_location: like url_location)
|
||||||
do
|
do
|
||||||
status_code := {HTTP_STATUS_CODE}.ok
|
status_code := {HTTP_STATUS_CODE}.found
|
||||||
url_location := a_url_location
|
url_location := a_url_location
|
||||||
create header.make
|
create header.make
|
||||||
end
|
end
|
||||||
@@ -100,7 +100,7 @@ feature {WSF_RESPONSE} -- Output
|
|||||||
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