1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-22 13:50:54 +00:00

context.output now need reponsewriter

This commit is contained in:
astaxie 2013-12-18 22:35:52 +08:00
parent b8ed790858
commit b346617dc1

View File

@ -464,7 +464,6 @@ func (p *ControllerRegistor) ServeHTTP(rw http.ResponseWriter, r *http.Request)
if context.Input.IsWebsocket() {
context.ResponseWriter = rw
context.Output = beecontext.NewOutput(rw)
}
// defined filter function