Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for MethodConnect (0.31 sec)

  1. src/net/http/method.go

    const (
    	MethodGet     = "GET"
    	MethodHead    = "HEAD"
    	MethodPost    = "POST"
    	MethodPut     = "PUT"
    	MethodPatch   = "PATCH" // RFC 5789
    	MethodDelete  = "DELETE"
    	MethodConnect = "CONNECT"
    	MethodOptions = "OPTIONS"
    	MethodTrace   = "TRACE"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 04 22:11:56 UTC 2016
    - 517 bytes
    - Viewed (0)
  2. pkg/hbone/server.go

    	h2.AllowHTTP = true
    	h2Server := &http2.Server{}
    	handler := http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		if r.Method == http.MethodConnect {
    			if handleConnect(w, r) {
    				return
    			}
    		} else {
    			log.Errorf("non-CONNECT: %v", r.Method)
    			w.WriteHeader(http.StatusMethodNotAllowed)
    		}
    	})
    	hs := &http.Server{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 10 02:05:07 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/util/net/testing/http.go

    	b, err := httputil.DumpRequest(req, false)
    	if err != nil {
    		h.t.Logf("Failed to dump request, host=%s: %v", req.Host, err)
    	} else {
    		h.t.Logf("Proxy Request: %s", string(b))
    	}
    
    	if req.Method != http.MethodConnect {
    		h.httpProxy.ServeHTTP(rw, req)
    		return
    	}
    
    	// CONNECT proxy
    
    	sconn, err := net.Dial("tcp", req.Host)
    	if err != nil {
    		h.t.Logf("Failed to dial proxy backend, host=%s: %v", req.Host, err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 20 14:58:46 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  4. api/go1.6.txt

    pkg math/rand, method (*Rand) Read([]uint8) (int, error)
    pkg net, type DNSError struct, IsTemporary bool
    pkg net, type Dialer struct, Cancel <-chan struct
    pkg net/http, const MethodConnect = "CONNECT"
    pkg net/http, const MethodConnect ideal-string
    pkg net/http, const MethodDelete = "DELETE"
    pkg net/http, const MethodDelete ideal-string
    pkg net/http, const MethodGet = "GET"
    pkg net/http, const MethodGet ideal-string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 13 23:40:13 UTC 2016
    - 12.9K bytes
    - Viewed (0)
  5. pkg/hbone/dialer.go

    	// * Less visibility into i/o
    	// * http will call conn.Close, which will close before we want to (finished writing response).
    	pr, pw := io.Pipe()
    	r, err := http.NewRequest(http.MethodConnect, url, pr)
    	if err != nil {
    		return fmt.Errorf("new request: %v", err)
    	}
    	r.Host = address
    
    	// Initiate CONNECT.
    	log.Infof("initiate CONNECT to %v via %v", r.Host, url)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 24 15:56:41 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  6. pkg/config/validation/validation.go

    	supportedMethods = sets.New(
    		http.MethodGet,
    		http.MethodHead,
    		http.MethodPost,
    		http.MethodPut,
    		http.MethodPatch,
    		http.MethodDelete,
    		http.MethodConnect,
    		http.MethodOptions,
    		http.MethodTrace,
    	)
    
    	scope = log.RegisterScope("validation", "CRD validation debugging")
    
    	// EmptyValidate is a Validate that does nothing and returns no error.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"ListenAndServeTLS", Func, 0},
    		{"LocalAddrContextKey", Var, 7},
    		{"MaxBytesError", Type, 19},
    		{"MaxBytesError.Limit", Field, 19},
    		{"MaxBytesHandler", Func, 18},
    		{"MaxBytesReader", Func, 0},
    		{"MethodConnect", Const, 6},
    		{"MethodDelete", Const, 6},
    		{"MethodGet", Const, 6},
    		{"MethodHead", Const, 6},
    		{"MethodOptions", Const, 6},
    		{"MethodPatch", Const, 6},
    		{"MethodPost", Const, 6},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top