set_redirect(status, url)
Instance Public methods
Redirects to url
with a WEBrick::HTTPStatus::Redirect
status
.
Example:
1 | res.set_redirect WEBrick::HTTPStatus::TemporaryRedirect |
Redirects to url
with a WEBrick::HTTPStatus::Redirect
status
.
Example:
1 | res.set_redirect WEBrick::HTTPStatus::TemporaryRedirect |
Designed by : w10schools
service@w10schools.com
Please login to continue.