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

SSE support for getObject #1263

Merged
merged 4 commits into from
Jun 10, 2024
Merged

Conversation

JohannGit
Copy link
Contributor

Currently minio-js has SSE support for putObject but not for getObject.
I had to do a npx patch for my project to support it, but I'll be glad if it's part of the minio-js directly.

This PR is related to very old issues but SSE support for getObject never reached master branch:

This PR brings the ability to give SSE headers to the getObject call via the metaData parameter, the same way putObject does.

Copy link
Member

@prakashsvmx prakashsvmx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the contribution @JohannGit . Could you check the comment ?

src/internal/client.ts Outdated Show resolved Hide resolved
@JohannGit
Copy link
Contributor Author

@prakashsvmx sorry CI were not successful cause I forgot to use prettier.
Now it should be all good 👍

@JohannGit
Copy link
Contributor Author

@prakashsvmx This is good, I fixed the last lint error (import sort)

@kaankabalak kaankabalak merged commit 06758a5 into minio:master Jun 10, 2024
10 checks passed
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.

4 participants