From 5b46259555012b3718d4035e18181dd9ed5ff539 Mon Sep 17 00:00:00 2001 From: Wesley Beary Date: Thu, 10 Sep 2009 11:55:42 -0700 Subject: [PATCH] objects head should include content-type --- lib/fog/aws/models/s3/objects.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fog/aws/models/s3/objects.rb b/lib/fog/aws/models/s3/objects.rb index fcf053f9c..31cf70a64 100644 --- a/lib/fog/aws/models/s3/objects.rb +++ b/lib/fog/aws/models/s3/objects.rb @@ -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