Skip to content

Commit

Permalink
fix(services/azblob): fix copy missing content-length (#2000)
Browse files Browse the repository at this point in the history
Signed-off-by: suyanhanx <suyanhanx@gmail.com>
  • Loading branch information
suyanhanx authored Apr 14, 2023
1 parent ec9edd1 commit aa8b9e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/src/services/azblob/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ impl AzblobCore {

let mut req = Request::put(&target)
.header(X_MS_COPY_SOURCE, source)
.header(CONTENT_LENGTH, 0)
.body(AsyncBody::Empty)
.map_err(new_request_build_error)?;

Expand Down

0 comments on commit aa8b9e5

Please # to comment.