Skip to content

Commit 675f8cc

Browse files
committed
Remove base64 instead of adding it since it's never used + fix ruby 3.4 warning
1 parent da0c8e8 commit 675f8cc

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

lib/fog/core.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# external core dependencies
2-
require "base64"
32
require "cgi"
43
require "uri"
54
require "excon"

lib/fog/storage.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ def self.parse_data(data)
5959
headers: {
6060
"Content-Length" => get_body_size(data),
6161
"Content-Type" => get_content_type(data)
62-
# "Content-MD5" => Base64.encode64(Digest::MD5.digest(metadata[:body])).strip
6362
}
6463
}
6564
end

0 commit comments

Comments
 (0)