mirror of
https://github.com/astaxie/beego.git
synced 2025-07-03 02:40:18 +00:00
router.go Header 毫无用处
context/output.go 简化一下代码,更清晰
This commit is contained in:
@ -897,10 +897,6 @@ type responseWriter struct {
|
||||
status int
|
||||
}
|
||||
|
||||
// Header returns the header map that will be sent by WriteHeader.
|
||||
func (w *responseWriter) Header() http.Header {
|
||||
return w.ResponseWriter.Header()
|
||||
}
|
||||
|
||||
// Write writes the data to the connection as part of an HTTP reply,
|
||||
// and sets `started` to true.
|
||||
|
Reference in New Issue
Block a user