Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for HeadBucketHandler (0.14 sec)

  1. cmd/peer-rest-server.go

    	}
    	res := aoBucketInfo.New()
    	for i := range buckets {
    		bucket := buckets[i]
    		res.Append(&bucket)
    	}
    	return res, nil
    }
    
    // HeadBucketHandler implements peer BucketInfo call, returns bucket create date.
    func (s *peerRESTServer) HeadBucketHandler(mss *grid.MSS) (info *VolInfo, nerr *grid.RemoteErr) {
    	bucket := mss.Get(peerS3Bucket)
    	if isMinioMetaBucket(bucket) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. cmd/bucket-handlers.go

    }
    
    // HeadBucketHandler - HEAD Bucket
    // ----------
    // This operation is useful to determine if a bucket exists.
    // The operation returns a 200 OK if the bucket exists and you
    // have permission to access it. Otherwise, the operation might
    // return responses such as 404 Not Found and 403 Forbidden.
    func (api objectAPIHandlers) HeadBucketHandler(w http.ResponseWriter, r *http.Request) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
  5. cmd/test-utils_test.go

    			bucket.Methods(http.MethodGet).HandlerFunc(api.GetBucketLocationHandler).Queries("location", "")
    		case "HeadBucket":
    			// Register HeadBucket handler.
    			bucket.Methods(http.MethodHead).HandlerFunc(api.HeadBucketHandler)
    		case "DeleteMultipleObjects":
    			// Register DeleteMultipleObjects handler.
    			bucket.Methods(http.MethodPost).HandlerFunc(api.DeleteMultipleObjectsHandler).Queries("delete", "")
    		case "NewMultipart":
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
Back to top