You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm new to EvaporateJS. I came across it because I'm using django-s3direct. Please see that link. I'm literally using that code unmodified as it is.
What Am I Trying To Do?
I want to attach metadata to the S3 uploaded file and I want to see that metadata on the object when I view it within the S3 interface (like in my image above).
What am I'm doing wrong? Is it a CORS or bucket config? Is it my code or approach / understanding?
The text was updated successfully, but these errors were encountered:
jaradc
changed the title
How to Add x-amz-meta-<whatever> = "whatever" TO S3 Bucket
How to Add x-amz-meta-<whatever> = "whatever" To S3 Bucket Object Metadata
Nov 20, 2021
jaradc
changed the title
How to Add x-amz-meta-<whatever> = "whatever" To S3 Bucket Object Metadata
How to Add x-amz-meta-<key> = "<value>" To S3 Bucket Object Metadata
Nov 20, 2021
I'm new to EvaporateJS. I came across it because I'm using django-s3direct. Please see that link. I'm literally using that code unmodified as it is.
What Am I Trying To Do?
I want to attach metadata to the S3 uploaded file and I want to see that metadata on the object when I view it within the S3 interface (like in my image above).
What Have I Tried?
I Learned from issue #428 that Evaporate.prototype.add() is where I should define metadata.
In the django-s3direct code, I see this:
I have tried adding the following, but I still don't see any metadata appear on my uploaded S3 object.
Tried to add header
x-amz-meta-abc
in thegenerateAmzCommonHeaders
part (which defines xAmzHeadersCommon):Tried to add header
x-amz-meta-abc
ingenerateAmzInitHeaders
const (which defines xAmzHeadersAtInitiate):Adding to
notSignedHeadersAtInitiate
:Both versions of
xAmzHeadersAtUpload
andxAmzHeadersAtComplete
:What am I'm doing wrong? Is it a CORS or bucket config? Is it my code or approach / understanding?
The text was updated successfully, but these errors were encountered: