code: func gzipAccepted(header http.Header) bool {
  	a := header.Get(acceptEncodingHeader)
  	parts := strings.Split(a, ",")
  	for _, part := range parts {
  		part = strings.TrimSpace(part)
  		if part == "gzip" || strings.HasPrefix(part, "gzip;") {
  			return true
  		}
  	}
  	return false
  }
docs: // gzipAccepted returns whether the client will accept gzip-encoded content.