func (c *compressedResponseWriter) Close() {
	if zlibWriter, ok := c.writer.(*zlib.Writer); ok {
		zlibWriter.Flush()
	}
	if gzipWriter, ok := c.writer.(*gzip.Writer); ok {
		gzipWriter.Flush()
	}
	if closer, ok := c.writer.(io.Closer); ok {
		defer closer.Close()
	}
}
func (c *compressedResponseWriter) Close() {
	if zlibWriter, ok := c.writer.(*zlib.Writer); ok {
		zlibWriter.Flush()
	}
	if gzipWriter, ok := c.writer.(*gzip.Writer); ok {
		gzipWriter.Flush()
	}
	if closer, ok := c.writer.(io.Closer); ok {
		defer closer.Close()
	}
}
func ( c * compressedResponseWriter ) Close ( ) { if zlibWriter , ok := c . writer . ( * zlib . Writer ) ; ok { zlibWriter . Flush ( ) } if gzipWriter , ok := c . writer . ( * gzip . Writer ) ; ok { gzipWriter . Flush ( ) } if closer , ok := c . writer . ( io . Closer ) ; ok { defer closer . Close ( ) } }
// Closes the compressedResponseWriter and ensures to flush all data before.
Closes the compressedResponseWriter and ensures to flush all data before .