1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

objects head should include content-type

This commit is contained in:
Wesley Beary 2009-09-10 11:55:42 -07:00
parent 72ba042e46
commit 5b46259555

View file

@ -51,7 +51,7 @@ module Fog
:key => key
}
for key, value in data.headers
if ['Content-Length', 'ETag', 'Last-Modified'].include?(key)
if ['Content-Length', 'Content-Type', 'ETag', 'Last-Modified'].include?(key)
object_data[key] = value
end
end