Merge pull request #306 from pengfei-xue/patch-1
http.ResponseWriter doesn't implement WriteCloser interface
Showing
1 changed file
with
0 additions
and
2 deletions
| ... | @@ -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 | ... | ... |
-
Please register or sign in to post a comment