Closed pkoretic closed 8 years ago
implement response.redirect which returns 302 http code with new url
response.redirect
possible definition
ctx.response.redirect(QUrl path)
examples
ctx.response.redirect("/hello") ctx.response.redirect("http://www.google.com")
override default 301 status code and body message
ctx.response.redirect("/hello").status(301).body("redirecting...")
implement
response.redirect
which returns 302 http code with new urlpossible definition
examples
override default 301 status code and body message