s3tools/s3cmd — pull request #94 by fgaudin (2012-12-06 03:45:12+00:00)
Title: Allow to set cache-control header by self-copying

you also have to provide the content-type in lower case (because of another bug which makes the request signature fail):

example:

s3cmd cp --add-header="Cache-Control:max-age=3600" --add-header=content-type:application/javascript s3://bucket/file.js s3://bucket/file.js