Skip to content

Commit

Permalink
fix get_presigned_object_url() API to use host header value
Browse files Browse the repository at this point in the history
Fixes #46

Signed-off-by: Bala.FA <[email protected]>
  • Loading branch information
balamurugana committed Sep 21, 2023
1 parent aee702f commit 40291d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/s3/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2193,7 +2193,7 @@ impl<'a> Client<'a> {

presign_v4(
&args.method,
&url.host,
&url.host_header_value(),
&url.path,
&region,
&mut query_params,
Expand Down

0 comments on commit 40291d1

Please sign in to comment.