Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for MethodOptions (0.17 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. api/go1.6.txt

    pkg net/http, const MethodGet = "GET"
    pkg net/http, const MethodGet ideal-string
    pkg net/http, const MethodHead = "HEAD"
    pkg net/http, const MethodHead ideal-string
    pkg net/http, const MethodOptions = "OPTIONS"
    pkg net/http, const MethodOptions ideal-string
    pkg net/http, const MethodPatch = "PATCH"
    pkg net/http, const MethodPatch ideal-string
    pkg net/http, const MethodPost = "POST"
    pkg net/http, const MethodPost 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)
  3. cmd/handler-utils.go

    	return errorResponseHandler
    }
    
    // If none of the http routes match respond with appropriate errors
    func errorResponseHandler(w http.ResponseWriter, r *http.Request) {
    	if r.Method == http.MethodOptions {
    		return
    	}
    	desc := "Do not upgrade one server at a time - please follow the recommended guidelines mentioned here https://github.com/minio/minio#upgrading-minio for your environment"
    	switch {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  4. cmd/api-router.go

    					return true
    				}
    			}
    			return false
    		},
    		AllowedMethods: []string{
    			http.MethodGet,
    			http.MethodPut,
    			http.MethodHead,
    			http.MethodPost,
    			http.MethodDelete,
    			http.MethodOptions,
    			http.MethodPatch,
    		},
    		AllowedHeaders:   commonS3Headers,
    		ExposedHeaders:   commonS3Headers,
    		AllowCredentials: true,
    	}
    	return cors.New(opts).Handler(handler)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  5. src/net/http/fs_test.go

    	// For now, test the historical behavior.
    	for _, method := range []string{
    		MethodGet,
    		MethodPost,
    		MethodPut,
    		MethodPatch,
    		MethodDelete,
    		MethodOptions,
    		MethodTrace,
    	} {
    		req.Method = method
    		_, body := getBody(t, method, req, c)
    		if !bytes.Equal(body, file) {
    			t.Fatalf("body mismatch for %v request: got %q, want %q", method, body, file)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 23:39:44 UTC 2024
    - 49.9K 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. cmd/server_test.go

    		"Cache-Control",
    		"Retry-After",
    		"X-Amz-Bucket-Region",
    		"Expires",
    		"X-Amz*",
    		"X-Amz*",
    		"*",
    	}
    	expectedMap.Set("Vary", "Origin")
    
    	req, _ := http.NewRequest(http.MethodOptions, s.endPoint, nil)
    	req.Header.Set("Origin", "http://foobar.com")
    	res, err := s.client.Do(req)
    	if err != nil {
    		c.Fatal(err)
    	}
    
    	for k := range expectedMap {
    		if v, ok := res.Header[k]; !ok {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 115.3K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"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},
    		{"MethodPut", Const, 6},
    		{"MethodTrace", Const, 6},
    		{"NewFileTransport", Func, 0},
    		{"NewFileTransportFS", Func, 22},
    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