Skip to content

Commit

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

Signed-off-by: Bala.FA <[email protected]>
  • Loading branch information
balamurugana authored Sep 25, 2023
1 parent 28e7fee commit 1f5ccb3
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 @@ -2218,7 +2218,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 1f5ccb3

Please sign in to comment.