Opened on Jan 6, 2010 at 10:57:00 PM
Closed on May 16, 2010 at 1:26:56 AM
Last modified on May 18, 2010 at 9:23:21 AM
#4063 closed enhancement (fixed)
Custom metadata attributes
Reported by: | mini | Owned by: | dkocher |
---|---|---|---|
Priority: | normal | Milestone: | 3.5 |
Component: | s3 | Version: | 3.3 |
Severity: | normal | Keywords: | s3 header encoding type |
Cc: | Architecture: | ||
Platform: | Mac OS X 10.6 |
Description
It would be useful if one could set additional headers for S3 objects, some of which include:
- Content-Encoding (e.g. 'gzip')
- Content-Type (e.g. 'application/x-javascript')
- more choices for Cache-Control (e.g. '24 hours', '1 week', etc.)
Change History (6)
comment:1 in reply to: ↑ description Changed on Jan 8, 2010 at 1:28:04 PM by dkocher
- Resolution set to duplicate
- Status changed from new to closed
comment:2 Changed on Jan 8, 2010 at 8:57:20 PM by mini
Replying to dkocher:
- Content-Encoding (e.g. 'gzip')
- Content-Type (e.g. 'application/x-javascript')
The MIME type should be set automatically from the mappings in trunk/lib/mime.types.
My problem is that CloudFront doesn't do compression of files it serves, so I have to add files to S3 with for instance a '.js' content-type, but with a content-encoding of 'gzip' because that's what the file really is. As far as I've seen, Cyberduck doesn't provide a way for me to do that.
http://waynepan.com/2008/11/23/taking-full-advantage-of-cloudfront/ probably explains it better than me.
comment:3 Changed on Jan 10, 2010 at 3:50:04 PM by dkocher
- Resolution duplicate deleted
- Status changed from closed to reopened
- Summary changed from More options for S3 objects to Custom metadata attributes
comment:4 Changed on Apr 25, 2010 at 1:26:09 PM by dkocher
- Milestone set to 3.6
- Platform set to Mac OS X 10.6
#4400 closed as duplicate.
comment:5 Changed on May 16, 2010 at 1:26:56 AM by dkocher
- Resolution set to fixed
- Status changed from reopened to closed
Implemented in r5936. Also available for Rackspace Cloudfiles.
comment:6 Changed on May 18, 2010 at 9:23:21 AM by dkocher
- Milestone changed from 3.6 to 3.5
Replying to mini:
I agree support for S3 should be extended.
The MIME type should be set automatically from the mappings in trunk/lib/mime.types.
This is in #3761.