code: func (c *compressionResponseWriter) Write(p []byte) (int, error) {
  	if c.compressorClosed() {
  		return -1, errors.New("compressing error: tried to write data using closed compressor")
  	}
  	c.Header().Set(headerContentEncoding, c.encoding)
  	defer c.compressor.Flush()
  	return c.compressor.Write(p)
  }
docs: // compress data according to compression method