Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ForceQuery (0.06 sec)

  1. cmd/common-main.go

    			}
    			// Look for if URL has invalid values and return error.
    			if !((u.Scheme == "http" || u.Scheme == "https") &&
    				u.Opaque == "" &&
    				!u.ForceQuery && u.RawQuery == "" && u.Fragment == "") {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  2. cmd/endpoint.go

    		// - Scheme field must contain "http" or "https"
    		// - All field should be empty except Host and Path.
    		if !((u.Scheme == "http" || u.Scheme == "https") &&
    			u.User == nil && u.Opaque == "" && !u.ForceQuery && u.RawQuery == "" && u.Fragment == "") {
    			return ep, fmt.Errorf("invalid URL endpoint format")
    		}
    
    		var port string
    		host, port, err = net.SplitHostPort(u.Host)
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 34.2K bytes
    - Viewed (0)
Back to top