Skip to content

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

Open
aaaaaaaalesha wants to merge 1 commit intoboto:developfrom
aaaaaaaalesha:feat/docs/s3_client_and_presigned_urls
Open

docs: Enhance Docs with S3 Examples of Generating Presigned URLs with Original File Names and Client Context Manager#4377
aaaaaaaalesha wants to merge 1 commit intoboto:developfrom
aaaaaaaalesha:feat/docs/s3_client_and_presigned_urls

Conversation

@aaaaaaaalesha
Copy link
Copy Markdown

@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
Copy Markdown
Author

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

@aaaaaaaalesha
Copy link
Copy Markdown
Author

@jonathan343 @tibbe @kapilt Hi, ping yo

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