Skip to content

Commit

Permalink
Add missing x-amz-acl header (#16260)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gobd authored Jan 10, 2025
1 parent 0372ca5 commit 0b9db36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/s3/credentials.zig
Original file line number Diff line number Diff line change
Expand Up @@ -528,9 +528,9 @@ pub const S3Credentials = struct {
}
} else {
if (session_token != null) {
break :brk "host;x-amz-content-sha256;x-amz-date;x-amz-security-token";
break :brk "host;x-amz-acl;x-amz-content-sha256;x-amz-date;x-amz-security-token";
} else {
break :brk "host;x-amz-content-sha256;x-amz-date";
break :brk "host;x-amz-acl;x-amz-content-sha256;x-amz-date";
}
}
} else {
Expand Down

0 comments on commit 0b9db36

Please sign in to comment.