Skip to content

Commit

Permalink
Remove base64 instead of adding it since it's never used + fix ruby 3…
Browse files Browse the repository at this point in the history
….4 warning
  • Loading branch information
chaadow authored and geemus committed Aug 1, 2024
1 parent 8b0061d commit 969fcfd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion lib/fog/core.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# external core dependencies
require "base64"
require "cgi"
require "uri"
require "excon"
Expand Down
1 change: 0 additions & 1 deletion lib/fog/storage.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ def self.parse_data(data)
headers: {
"Content-Length" => get_body_size(data),
"Content-Type" => get_content_type(data)
# "Content-MD5" => Base64.encode64(Digest::MD5.digest(metadata[:body])).strip
}
}
end
Expand Down

0 comments on commit 969fcfd

Please sign in to comment.