35a136bc by astaxie

fix #232

1 parent aaf1490f
...@@ -300,6 +300,7 @@ func (p *ControllerRegistor) ServeHTTP(rw http.ResponseWriter, r *http.Request) ...@@ -300,6 +300,7 @@ func (p *ControllerRegistor) ServeHTTP(rw http.ResponseWriter, r *http.Request)
300 Output: beecontext.NewOutput(w), 300 Output: beecontext.NewOutput(w),
301 } 301 }
302 context.Output.Context = context 302 context.Output.Context = context
303 context.Output.EnableGzip = EnableGzip
303 304
304 if context.Input.IsWebsocket() { 305 if context.Input.IsWebsocket() {
305 context.ResponseWriter = rw 306 context.ResponseWriter = rw
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!