mirror of
https://github.com/astaxie/beego.git
synced 2024-11-25 19:10:54 +00:00
add Server info
This commit is contained in:
parent
0abe3e2157
commit
3475685233
@ -298,8 +298,10 @@ func (p *ControllerRegistor) ServeHTTP(rw http.ResponseWriter, r *http.Request)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
|
|
||||||
w := &responseWriter{writer: rw}
|
w := &responseWriter{writer: rw}
|
||||||
|
|
||||||
|
w.Header().Set("Server", "beegoServer")
|
||||||
var runrouter *controllerInfo
|
var runrouter *controllerInfo
|
||||||
var findrouter bool
|
var findrouter bool
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user