Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestDoesPolicySignatureMatch (0.2 sec)

  1. cmd/signature-v4_test.go

    	// Special-handle ErrNone
    	if code == ErrNone {
    		return "ErrNone"
    	}
    
    	return fmt.Sprintf("%s (%s)", errorCodes[code].Code, errorCodes[code].Description)
    }
    
    func TestDoesPolicySignatureMatch(t *testing.T) {
    	credentialTemplate := "%s/%s/%s/s3/aws4_request"
    	now := UTCNow()
    	accessKey := globalActiveCred.AccessKey
    
    	testCases := []struct {
    		form     http.Header
    		expected APIErrorCode
    	}{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 10.4K bytes
    - Viewed (1)
Back to top