1
0
mirror of https://github.com/labstack/echo.git synced 2024-11-28 08:38:39 +02:00
Signed-off-by: Vishal Rana <vr@labstack.com>
This commit is contained in:
Vishal Rana 2016-04-01 13:39:09 -07:00
parent cfb60bebd3
commit 26dc90edfd

View File

@ -100,7 +100,8 @@ func (r *Response) CloseNotify() <-chan bool {
}
func (r *Response) reset(w http.ResponseWriter, a *responseAdapter, h engine.Header) {
r.ResponseWriter = a
// r.ResponseWriter = a
r.ResponseWriter = w
r.header = h
r.status = http.StatusOK
r.size = 0