mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-21 03:46:37 +00:00
fix
This commit is contained in:
@@ -168,7 +168,7 @@ fn get_canonical_request(req: &request::Builder, ignored_headers: &HashMap<Strin
|
|||||||
// Build canonical query string
|
// Build canonical query string
|
||||||
let sorted_params: Vec<String> = query_params
|
let sorted_params: Vec<String> = query_params
|
||||||
.iter()
|
.iter()
|
||||||
.map(|(k, v)| if v.is_empty() { k.clone() } else { format!("{}={}", k, v) })
|
.map(|(k, v)| format!("{}={}", k, v) )
|
||||||
.collect();
|
.collect();
|
||||||
|
|
||||||
canonical_query_string = sorted_params.join("&");
|
canonical_query_string = sorted_params.join("&");
|
||||||
|
|||||||
Reference in New Issue
Block a user