We are in the process of migrating this forum. A new space will be available soon. We are sorry for the inconvenience.

Set content type & disposition in object url


avnr
01-06-2016, 07:00 PM
I've set my container's acl to allow public access to any file. For example: https://lb9911.hubic.ovh.net/v1/AUTH...scape_anim.gif

Now in some cases I want the headers of the above image to be as they are now, but in some other cases I'd want them to have a different content type and disposition. In the S3 API I can achieve that by adding to the above url the query parameters: ?response-content-disposition=attachment&response-content-type=application/octet-stream

How is it done in Hubic? Is there an S3-compatible endpoint (e.g., using swift3)?