c9418966 by astaxie

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

http.ResponseWriter doesn't implement  WriteCloser interface
2 parents f52faf63 0122addd
...@@ -64,8 +64,6 @@ func (output *BeegoOutput) Body(content []byte) { ...@@ -64,8 +64,6 @@ func (output *BeegoOutput) Body(content []byte) {
64 output_writer.(*gzip.Writer).Close() 64 output_writer.(*gzip.Writer).Close()
65 case *flate.Writer: 65 case *flate.Writer:
66 output_writer.(*flate.Writer).Close() 66 output_writer.(*flate.Writer).Close()
67 case io.WriteCloser:
68 output_writer.(io.WriteCloser).Close()
69 } 67 }
70 } 68 }
71 69
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!