Commit c9418966 authored by astaxie's avatar astaxie

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

http.ResponseWriter doesn't implement  WriteCloser interface
parents f52faf63 0122addd
......@@ -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()
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment