Open zachmullen opened 3 years ago
Rather than just redirecting to blob.url
in the file download endpoint, we'll need to call some method that allows us to pass an option for content disposition to generate presigned URLs.
I needed to close that issue on S3FF because it was out of scope there, but feel free to open an issue on https://github.com/girder/django-girder-utils/ , or just solve it locally in DKC-next and later upstream the solution to https://github.com/girder/django-girder-utils/ so it can benefit other projects.
This will allow us to switch between viewing the file directly in the browser versus downloading the file as an attachment.
See https://github.com/girder/django-s3-file-field/issues/197