Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
tu6ge committed Jul 8, 2024
1 parent c9c771c commit c32cbbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/object.rs
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ impl Object {

let mut header_map = client.authorization(method, resource)?;
if content.len() == 0 {
header_map.insert("Content-Length", 0.into());
header_map.insert(CONTENT_LENGTH, 0.into());
}

let response = reqwest::Client::new()
Expand Down

0 comments on commit c32cbbe

Please sign in to comment.