How to upload S3 metadata with a file in Fog?
I have tried: my_directory.files.create(key: key, body: body, metadata: { custom: "x" }) And: my_directory.files.create(key: key, body: body, custom: "x" }) But the "custom" metadata is not showing up in the S3 web interface. What am I doing it wrong? How should I do it? According to Programming Amazon Web Services by James Murty (O'Reilly), page 74: S3 does not allow you to set arbitrary metadata items to be returned as HTTP headers; only some header names are recognized as legal HTTP headers. Any header with a name the service does not recognize is discarded. According to the properties