1
0
mirror of https://github.com/astaxie/beego.git synced 2025-06-12 07:40:39 +00:00

some typo fixed

This commit is contained in:
JessonChan
2016-03-09 16:00:52 +08:00
parent 3dd9020249
commit f21cff0166
3 changed files with 9 additions and 9 deletions

View File

@ -212,7 +212,7 @@ func (w *Response) WriteHeader(code int) {
}
w.Status = code
w.Started = true
w.ResponseWriter.WriteHeader(w.Status)
w.ResponseWriter.WriteHeader(code)
}
// Hijack hijacker for http