fix get_presigned_object_url() API to use host header value (#47)

Fixes #46

Signed-off-by: Bala.FA <bala@minio.io>
This commit is contained in:
Bala FA 2023-09-26 05:27:36 +05:30 committed by GitHub
parent 28e7fee8fa
commit 1f5ccb3113
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2218,7 +2218,7 @@ impl<'a> Client<'a> {
presign_v4(
&args.method,
&url.host,
&url.host_header_value(),
&url.path,
&region,
&mut query_params,