code: func (o options) shouldCompress(contentType string, statusCode int) bool {
  	// If contentTypes is nil we handle all content types.
  	if len(o.contentTypes) > 0 {
  		ct := strings.ToLower(contentType)
  		ct = strings.Split(ct, ";")[0]
  		found := false
  		for _, v := range o.contentTypes {
  			if strings.HasPrefix(ct, v) {
  				found = true
  				break
  			}
  		}
  		if !found {
  			return false
  		}
  	}
  	if len(o.statusCodes) > 0 {
  		_, ok := o.statusCodes[statusCode]
  		if !ok {
  			return false
  		}
  	}
  
  	return true
  }
docs: // returns true if we've been configured to compress the specific content type.