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

docs: Enhance Docs with S3 Examples of Generating Presigned URLs with Original File Names and Client Context Manager #4377

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

aaaaaaaalesha
Copy link

@aaaaaaaalesha aaaaaaaalesha commented Dec 14, 2024

This PR improves the documentation for generating presigned URLs with passing the original files' names and extensions. It may be very userful for a common solution is to store anonymized "raw" files like file.bin in S3, and the original file names and extensions in a relational database.

Also added a small example of creating and using a wrapper via the context manager for an S3 client and managing the releasing of its resources.

…rst added

- s3-presigned-urls.rst updated with passing the original file names and extensions to presigned URLs through `Content-Disposition` HTTP-header;
- context manager wrapper for pytonic-way client usage example added;
@aaaaaaaalesha aaaaaaaalesha changed the title feat(docs): Enhance Docs with S3 Examples of Generating Presigned URLs with Original File Names and Client Context Manager docs: Enhance Docs with S3 Examples of Generating Presigned URLs with Original File Names and Client Context Manager Dec 16, 2024
@aaaaaaaalesha
Copy link
Author

@jonathan343 @tibbe @kapilt
Hello
I apologize in advance for the mention. I'd be happy to see my little pull request in docs 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant