http.ResponseWriter doesn't implement  WriteCloser interface 

The removed code will never be executed, remove it
Merge pull request #306 from pengfei-xue/patch-1

http.ResponseWriter doesn't implement  WriteCloser interface