OVH Community, your new community space.

Set content type & disposition in object url

01-06-2016, 06:00 PM
I've set my container's acl to allow public access to any file. For example:

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)?