s3 module - passing headers for PUT operations

Amazon S3 uses file metadata for various HTTP headers (cache control, content encoding, etc.), which are provided as HTTP headers when PUTting the file. From what I can tell, the s3 module currently doesn’t provide a way to pass headers during PUT operations, although the underlying boto function set_contents_from_filename can accept them. Is there another way to go about doing this? Or, if this is a feature the maintainers think would be valuable, I can work on a pull request for library/cloud/s3? Thanks in advance.

Jake

A pull request would be great, thanks!