Creates a 3xx redirect response and adds the Location field to the header. If not specified status code 301 Moved Permanently will be used.
http.redirect("/index.html"); http.redirect(302, "/view.php"); http.redirect(StatusCodes.seeOther, "/icon.png");
See Implementation
Creates a 3xx redirect response and adds the Location field to the header. If not specified status code 301 Moved Permanently will be used.