Now inherit create_router ; but it is still possible to redefine it.

Added some wsf_reponse_message for redirection
Use "found" for the redirec_now ...
Added content to the tutorial
This commit is contained in:
Jocelyn Fiat
2012-05-28 10:54:05 +02:00
parent 171be24d2a
commit 445a27ddf8
11 changed files with 338 additions and 23 deletions

View File

@@ -329,7 +329,7 @@ feature -- Redirect
redirect_now_with_content (a_url: READABLE_STRING_8; a_content: READABLE_STRING_8; a_content_type: READABLE_STRING_8)
-- Redirect to the given url `a_url'
do
redirect_now_custom (a_url, {HTTP_STATUS_CODE}.temp_redirect, Void, [a_content, a_content_type])
redirect_now_custom (a_url, {HTTP_STATUS_CODE}.found, Void, [a_content, a_content_type])
end
feature -- Error reporting