Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for HeadBucketHandler (0.1 sec)

  1. cmd/api-router.go

    		// PutBucket
    		router.Methods(http.MethodPut).
    			HandlerFunc(s3APIMiddleware(api.PutBucketHandler))
    		// HeadBucket
    		router.Methods(http.MethodHead).
    			HandlerFunc(s3APIMiddleware(api.HeadBucketHandler))
    		// PostPolicy
    		router.Methods(http.MethodPost).
    			MatcherFunc(func(r *http.Request, _ *mux.RouteMatch) bool {
    				return isRequestPostPolicySignatureV4(r)
    			}).
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 15:25:16 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  2. cmd/bucket-handlers_test.go

    		req, err := newTestSignedRequestV4(http.MethodHead, getHEADBucketURL("", testCase.bucketName), 0, nil, testCase.accessKey, testCase.secretKey, nil)
    		if err != nil {
    			t.Fatalf("Test %d: %s: Failed to create HTTP request for HeadBucketHandler: <ERROR> %v", i+1, instanceType, err)
    		}
    		// Since `apiRouter` satisfies `http.Handler` it has a ServeHTTP to execute the logic of the handler.
    		// Call the ServeHTTP to execute the handler.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 39.8K bytes
    - Viewed (0)
Back to top