code: func SetTextContentTypes(types []string) error {
  	pattern := "(" + types[0]
  	for _, t := range types {
  		pattern += "|" + t
  	}
  	pattern += `)\b.*`
  
  	r, err := regexp.Compile(pattern)
  	if err != nil {
  		return err
  	}
  
  	textContentTypesRegexp = r
  	return nil
  }
docs: // SetTextContentTypes configures the proxy package to skip Base64 encoding of the response
  // body for responses with a Content-Type header matching one of the provided types.
  // Each type provided is a regular expression pattern.