Gaufrette icon indicating copy to clipboard operation
Gaufrette copied to clipboard

Not implemented fully metadata support on S3

Open thekandor opened this issue 10 years ago • 3 comments

When we create object on S3 as one of option we can add only few headers which will be added as a metadata without conversion with 'x-amz-meta-' etc. Current version support only Content-Type, Content-Length. Method update_object from SDK isn't also used. But there are situations when that behaviour is needed, like setting object metadata which force Content-Disposition:attachment. Currently this is impossible. And both, old and new, versions of SDK allow for that in some cases. This may be even solved by adding those cases like Content-Type were solved. This bug is especially painfull, because IE in some cases (docx and this family) have problem with proper MimeType recognize (treat them as zip files).

thekandor avatar Mar 28 '14 14:03 thekandor

Any update on this? It's a real pain.

christheyounger avatar Aug 27 '15 00:08 christheyounger

I think that only way is to fork it and add own method to set Content-Type header :(

barat avatar Sep 02 '15 12:09 barat

A sub-issue of https://github.com/KnpLabs/Gaufrette/issues/108 ?

gggeek avatar Oct 15 '15 15:10 gggeek