Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ForceQuery (0.23 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 == "") {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  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 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 34.1K bytes
    - Viewed (0)
Back to top