-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
setting "Content-Dispoition": "attachment" ? #42
Comments
I've tried the following
no luck... setting the content disposition then in CLJS throws the error that the params don't match the presigned url. |
Have you seen this? 21bc14e |
I'm not really using the pipeline functions so correct me if I'm wrong I should be able to do this? (s3b/sign-upload and then add another form field for metadata on the cljs side of things ? |
I've done the above on the CLJ side of things, then in cljs i have tried appending the params with :metadata {:content-disposition "attachment"} but get back from amazon: Invalid according to Policy: Extra input fields: :metadata I realized then I needed to assoc "metadata" instead of :metadata but still get Invalid according to Policy: Extra input fields: content-disposition Still pretty confused :/ |
Hi,
I've been trying for a few hours now to set the metadata "Content-Disposition": "attachment" in S3. I'm trying to enforce that all images / videos are downloaded when one navigates to them in s3. I can't seem to get this to work with either header-fn or with metadata. Do you have any suggestions on how to set this header for S3 objects? Thanks!
The text was updated successfully, but these errors were encountered: