Closed jaradc closed 2 years ago
I would like to attach metadata to all objects uploaded. Where in the code can I add this metadata before uploading? Also, I'm curious when this would occur with multipart uploads - iteratively or at the end when all parts are uploaded?
I figured it out. I have to modify the generateAmzInitHeaders headers to include x-amz-meta-whatever = 'some meta data'
generateAmzInitHeaders
x-amz-meta-whatever
I would like to attach metadata to all objects uploaded. Where in the code can I add this metadata before uploading? Also, I'm curious when this would occur with multipart uploads - iteratively or at the end when all parts are uploaded?