1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-10 20:20:55 +00:00

Merge pull request #306 from pengfei-xue/patch-1

http.ResponseWriter doesn't implement  WriteCloser interface
This commit is contained in:
astaxie 2013-11-21 05:31:00 -08:00
commit c94189668f

View File

@ -64,8 +64,6 @@ func (output *BeegoOutput) Body(content []byte) {
output_writer.(*gzip.Writer).Close()
case *flate.Writer:
output_writer.(*flate.Writer).Close()
case io.WriteCloser:
output_writer.(io.WriteCloser).Close()
}
}