Skip to content
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

add content disposition header for s3 presign api #705

Merged
merged 2 commits into from
Jul 11, 2024

Conversation

raylrui
Copy link
Contributor

@raylrui raylrui commented Jul 10, 2024

Fix:

add 'Content-Disposition' header in 'preview' s3 presignurl api, and change default presignurl behaviour to download as attachment.

These may need couple modification of libumccr.aws.libs3.presign_s3_file to be able add 'content_disposition' params for s3 presignurl call.

PR of libumccr: umccr/libumccr#28

Link: umccr/data-portal-client#342

Refer: about boto3 presign url pass disposition header: boto/boto3#356 (comment)
boto/boto3#610 (comment)

@raylrui raylrui marked this pull request as ready for review July 11, 2024 02:09
@raylrui raylrui added this to the Release 2.2.2 milestone Jul 11, 2024
@raylrui raylrui added the fix label Jul 11, 2024
@raylrui
Copy link
Contributor Author

raylrui commented Jul 11, 2024

Merging

@raylrui raylrui merged commit 995ac4c into dev Jul 11, 2024
1 check passed
@victorskl victorskl deleted the fix/add-content-disposition-for-s3-presign-api branch July 11, 2024 02:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants