Hey,
I’ve scoured the github and this forum but can’t find an answer / place to start looking. I’m basically trying to add the Content-Disposition: attachment
header to my files uploaded to s3 using the @uppy/aws-s3-multipart
plugin.
From what I understand, i’ll need to override the prepareUploadParts(file, partData)
function (link to docs → AWS S3 Multipart — Uppy) but i can’t find any example to know what the code should look like.
I want to keep the default implementation for presigning the url, but simply add the Content-Disposition: attachment
header if possible.
Could anyone push me in the right direction? Maybe help me by pointing out the original implementation of the function so i can at least copy paste it?
Thanks in advance!