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:
parent
72ba042e46
commit
5b46259555
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ module Fog
|
||||||
:key => key
|
:key => key
|
||||||
}
|
}
|
||||||
for key, value in data.headers
|
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
|
object_data[key] = value
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue