Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for newTestSignedRequestV2 (0.13 sec)

  1. cmd/bucket-handlers_test.go

    	// initialize HTTP NewRecorder, this records any mutations to response writer inside the handler.
    	recV2 := httptest.NewRecorder()
    	// construct HTTP request for DELETE bucket.
    	reqV2, err := newTestSignedRequestV2(http.MethodDelete, getBucketLocationURL("", bucketName), 0, nil, credentials.AccessKey, credentials.SecretKey, nil)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  2. cmd/bucket-policy-handlers_test.go

    		}
    		// initialize HTTP NewRecorder, this records any mutations to response writer inside the handler.
    		recV2 := httptest.NewRecorder()
    		// construct HTTP request for PUT bucket policy endpoint.
    		reqV2, err := newTestSignedRequestV2(http.MethodPut, getPutPolicyURL("", testCase.bucketName),
    			int64(testCase.policyLen), testCase.bucketPolicyReader, testCase.accessKey, testCase.secretKey, nil)
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 32.9K bytes
    - Viewed (0)
Back to top