Skip to content

Commit

Permalink
chore: fix issue Content-Length header for copy blob operation
Browse files Browse the repository at this point in the history
  • Loading branch information
ericenns committed Jan 23, 2025
1 parent 1b4c6b1 commit 9d6b5d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/azure_blob/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def copy_blob(key, source_key, options = {})
uri = generate_uri("#{container}/#{key}")

headers = {
"Content-Length": "0",
"Content-Length": 0,
"x-ms-copy-source": generate_uri("#{container}/#{source_key}").to_s,
"x-ms-blob-type": "BlockBlob",
}
Expand Down

0 comments on commit 9d6b5d5

Please sign in to comment.