mirror of
https://github.com/astaxie/beego.git
synced 2024-11-10 21:30:55 +00:00
Merge pull request #306 from pengfei-xue/patch-1
http.ResponseWriter doesn't implement WriteCloser interface
This commit is contained in:
commit
c94189668f
@ -64,8 +64,6 @@ func (output *BeegoOutput) Body(content []byte) {
|
|||||||
output_writer.(*gzip.Writer).Close()
|
output_writer.(*gzip.Writer).Close()
|
||||||
case *flate.Writer:
|
case *flate.Writer:
|
||||||
output_writer.(*flate.Writer).Close()
|
output_writer.(*flate.Writer).Close()
|
||||||
case io.WriteCloser:
|
|
||||||
output_writer.(io.WriteCloser).Close()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user