jenkinsci/s3-plugin — pull request #3 by mhupman (2012-04-23 20:14:21+00:00)
Title: Use AWS MimeType library to determine the Content-Type of the uploaded file.

Prior to this change, all files were uploaded to S3 with the application/octect-stream Content-Type. For people that use this plugin to publish website artifacts, this causes browsers to incorrectly interpret *.html, *.css, etc. files. This change utilizes the MimeType class in the AWS library to attempt to infer a Mime-Type from the target file's extension. If no match is found, then the library defaults to application/octet-stream, so present compatibility should be maintained.