mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 18:30:56 +00:00
fix #232
This commit is contained in:
parent
aaf1490ff5
commit
35a136bcee
@ -300,6 +300,7 @@ func (p *ControllerRegistor) ServeHTTP(rw http.ResponseWriter, r *http.Request)
|
|||||||
Output: beecontext.NewOutput(w),
|
Output: beecontext.NewOutput(w),
|
||||||
}
|
}
|
||||||
context.Output.Context = context
|
context.Output.Context = context
|
||||||
|
context.Output.EnableGzip = EnableGzip
|
||||||
|
|
||||||
if context.Input.IsWebsocket() {
|
if context.Input.IsWebsocket() {
|
||||||
context.ResponseWriter = rw
|
context.ResponseWriter = rw
|
||||||
|
Loading…
Reference in New Issue
Block a user