- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for MethodOptions (0.29 sec)
-
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) -
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) -
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) -
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) -
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) -
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)