1
0
mirror of https://github.com/astaxie/beego.git synced 2024-06-23 18:34:12 +00:00

add Server info

This commit is contained in:
astaxie 2013-06-20 15:49:43 +08:00
parent 0abe3e2157
commit 3475685233

View File

@ -298,8 +298,10 @@ func (p *ControllerRegistor) ServeHTTP(rw http.ResponseWriter, r *http.Request)
}
}
}()
w := &responseWriter{writer: rw}
w.Header().Set("Server", "beegoServer")
var runrouter *controllerInfo
var findrouter bool