code: func ValidCookieValue(value []byte, strict bool) bool {
  	if len(value) == 0 {
  		return true
  	}
  	for _, c := range value {
  		switch c {
  		case '"', ';', '\\':
  			return false
  		case ',', ' ':
  			if strict {
  				return false
  			}
  		default:
  			if c <= 0x20 {
  				return false
  			}
  			if c >= 0x7f {
  				return false
  			}
  		}
  	}
  	return true
  }
docs: // ValidCookieValue reports whether given value is a valid RFC6265
  // "cookie-octet" bytes.
  //
  // cookie-octet = %x21 / %x23-2B / %x2D-3A / %x3C-5B / %x5D-7E
  //                ; US-ASCII characters excluding CTLs,
  //                ; whitespace DQUOTE, comma, semicolon,
  //                ; and backslash
  //
  // Note that the false strict parameter disables errors on space 0x20 and comma
  // 0x2c. This could be useful to bring some compatibility with non-compliant
  // clients/servers in the real world.
  // It acts the same as standard library cookie parser if strict is false.