Gaufrette
Gaufrette copied to clipboard
Not implemented fully metadata support on S3
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).
Any update on this? It's a real pain.
I think that only way is to fork it and add own method to set Content-Type header :(
A sub-issue of https://github.com/KnpLabs/Gaufrette/issues/108 ?