I’m creating a Rails 3 Application that uses Carrierwave & Amazon S3. The Problem that I’m running into is that when Carrierwave uploads images to Amazon it’s setting the Content-Type to Application/Octet-Stream instead of it’s actual content type.
class ImageUploader < CarrierWave::Uploader::Base
include CarrierWave::MiniMagick
storage :fog
process :resize_to_limit => [100, 75]
process :convert => 'png'
end
From https://github.com/jnicklas/carrierwave/issues/284#issuecomment-1925631: