Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestS3IsRequested (0.1 sec)

  1. internal/crypto/header_test.go

    	{Header: http.Header{"X-Amz-Server-Side-Encryption": []string{xhttp.AmzEncryptionKMS}}, Expected: false}, // 4
    }
    
    func TestS3IsRequested(t *testing.T) {
    	for i, test := range s3IsRequestedTests {
    		if got := S3.IsRequested(test.Header); got != test.Expected {
    			t.Errorf("Test %d: Wanted %v but got %v", i, test.Expected, got)
    		}
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 13 14:52:15 UTC 2022
    - 21.4K bytes
    - Viewed (0)
Back to top