Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestIsRequestPresignedSignatureV2 (0.12 sec)

  1. cmd/auth-handler_test.go

    	for i, tt := range testCases {
    		ok := isSupportedS3AuthType(tt.authT)
    		if ok != tt.pass {
    			t.Errorf("Test %d:, Expected %t, got %t", i+1, tt.pass, ok)
    		}
    	}
    }
    
    func TestIsRequestPresignedSignatureV2(t *testing.T) {
    	testCases := []struct {
    		inputQueryKey   string
    		inputQueryValue string
    		expectedResult  bool
    	}{
    		// Test case - 1.
    		// Test case with query key "AWSAccessKeyId" set.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.4K bytes
    - Viewed (0)
Back to top