Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for httpie (0.26 sec)

  1. istioctl/pkg/writer/envoy/configdump/endpoint.go

    // Copyright Istio Authors
    //
    // Licensed under the Apache License, Version 2.0 (the "License");
    // you may not use this file except in compliance with the License.
    // You may obtain a copy of the License at
    //
    //     http://www.apache.org/licenses/LICENSE-2.0
    //
    // Unless required by applicable law or agreed to in writing, software
    // distributed under the License is distributed on an "AS IS" BASIS,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sun Apr 21 17:42:54 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  2. cmd/endpoint.go

    	u, err := url.Parse(arg)
    	if err == nil && u.Host != "" {
    		// URL style of endpoint.
    		// Valid URL style endpoint is
    		// - 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")
    		}
    
    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