feat: add support for DigitalOcean

This commit adds a x-amz-date header which is an undocumented
requirement of DO API requests.
This commit is contained in:
Rohan
2022-02-21 10:14:17 +05:30
parent fa36dbb143
commit de82585958
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -155,7 +155,7 @@ func TestS3_FileUploadPostAndPut(t *testing.T) {
})
if (err != nil) != tt.wantErr {
t.Errorf("S3.FileUpload() error = %v, wantErr %v", err, tt.wantErr)
t.Errorf("S3.FileDetails() error = %v, wantErr %v", err, tt.wantErr)
}
if len(dResp.AmzMeta) != len(tt.args.u.CustomMetadata) {