34756852 by astaxie

add Server info

1 parent 0abe3e21
...@@ -298,8 +298,10 @@ func (p *ControllerRegistor) ServeHTTP(rw http.ResponseWriter, r *http.Request) ...@@ -298,8 +298,10 @@ func (p *ControllerRegistor) ServeHTTP(rw http.ResponseWriter, r *http.Request)
298 } 298 }
299 } 299 }
300 }() 300 }()
301
301 w := &responseWriter{writer: rw} 302 w := &responseWriter{writer: rw}
302 303
304 w.Header().Set("Server", "beegoServer")
303 var runrouter *controllerInfo 305 var runrouter *controllerInfo
304 var findrouter bool 306 var findrouter bool
305 307
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!