We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36e18d8 commit 320cdf3Copy full SHA for 320cdf3
lib/fog/storage/google_json/requests/put_object.rb
@@ -50,7 +50,7 @@ def put_object(bucket_name,
50
data = StringIO.new(data)
51
options[:content_type] ||= "text/plain"
52
elsif data.is_a?(::File)
53
- options[:content_type] ||= Fog::Storage.parse_data(data)[:headers]["Content-Type"]
+ options[:content_type] ||= Fog::Storage.parse_data(data)[:headers]["Content-Type"]
54
end
55
56
# Paperclip::AbstractAdapter
0 commit comments