Skip to content

Commit a723ff8

Browse files
committed
Adding http headers that start with x-amz-meta- to authorization digest.
1 parent ec3c7a9 commit a723ff8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ds3/networking/networking_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515
"testing"
1616
"net/url"
1717
"spectra/ds3_go_sdk/ds3_utils/ds3Testing"
18-
"strings"
18+
"strings"
1919
)
2020

2121
func TestEncodeQueryParams(t *testing.T) {
@@ -59,3 +59,4 @@ func TestBuildingAuthorizationDigestWithMetadata(t *testing.T) {
5959
expected := AmazonMetadataPrefix + strings.ToLower(gracie) + ":" + eskimo + "\n" + AmazonMetadataPrefix + strings.ToLower(shasta) + ":" + samoyed + "\n"
6060
ds3Testing.AssertBool(t, "amazonHeader string isn't what we expected", true, strings.Compare(amazonHeaders, expected) == 0)
6161
}
62+

0 commit comments

Comments
 (0)