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 a bit confused if this is a missing feature or a bug, as your docs don't specify if you support Content-Disposition for GetObject(), using AWS'S official rust S3 SDK.
To Reproduce
let presigned_request = state
.s3_client
.get_object()
.bucket("file")
.key(&file.s3_key)
.response_content_disposition("attachment; filename=\"hello.txt\"")
.presigned(PresigningConfig::expires_in(Duration::from_secs(3600)).unwrap())
.await?;
println!("presigned_request: {:?}", presigned_request.uri());
Produces a valid presigned download URL but the downloaded filename is not the one provided in the content disposition header.
Expected behavior
Downloaded filename is the one provided in the content disposition header.
System information
OS: Ubuntu 22.04
Supabase CLI: 1.191.3
The text was updated successfully, but these errors were encountered:
Bug report
Describe the bug
I'm a bit confused if this is a missing feature or a bug, as your docs don't specify if you support Content-Disposition for GetObject(), using AWS'S official rust S3 SDK.
To Reproduce
Produces a valid presigned download URL but the downloaded filename is not the one provided in the content disposition header.
Expected behavior
Downloaded filename is the one provided in the content disposition header.
System information
The text was updated successfully, but these errors were encountered: