Cyberduck Mountain Duck CLI

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#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 9 years ago by dkocher

  • Resolution set to duplicate
  • Status changed from new to closed

Replying to mini:

It would be useful if one could set additional headers for S3 objects, some of which include:

I agree support for S3 should be extended.

  • 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.

  • more choices for Cache-Control (e.g. '24 hours', '1 week', etc.)

This is in #3761.

comment:2 Changed 9 years ago 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 9 years ago 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 9 years ago by dkocher

  • Milestone set to 3.6
  • Platform set to Mac OS X 10.6

#4400 closed as duplicate.

comment:5 Changed 9 years ago by dkocher

  • Resolution set to fixed
  • Status changed from reopened to closed

Implemented in r5936. Also available for Rackspace Cloudfiles.

comment:6 Changed 9 years ago by dkocher

  • Milestone changed from 3.6 to 3.5
Note: See TracTickets for help on using tickets.
swiss made software