Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for MethodOptions (0.22 sec)

  1. 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)
  2. 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)
Back to top