mirror of
https://github.com/astaxie/beego.git
synced 2024-06-28 05:44:14 +00:00
when Redirect delete output
This commit is contained in:
parent
2417464c35
commit
d80ba7b084
|
@ -26,7 +26,6 @@ func (ctx *Context) Abort(status int, body string) {
|
|||
func (ctx *Context) Redirect(status int, url_ string) {
|
||||
ctx.ResponseWriter.Header().Set("Location", url_)
|
||||
ctx.ResponseWriter.WriteHeader(status)
|
||||
ctx.ResponseWriter.Write([]byte("Redirecting to: " + url_))
|
||||
}
|
||||
|
||||
func (ctx *Context) NotModified() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user