37signals/aws-s3 — pull request #4 by buffym (2012-05-04 17:24:36+00:00)
Title: Add support for overriding s3 responses

Adds support for overriding s3 responses when using the S3Object.url_for method. s3 supports overriding the following response headers: response-content-type, response-content-language, response-expires, reponse-cache-control, response-content-disposition, and response-content-encoding. This allows you to, for instance, download a single s3 file as either an attachment or inline, instead of having to store two objects, each with a different content-dispostion.