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 support for object upload options #164

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

fpetkovski
Copy link
Contributor

I would like to be able to set the content type on uploaded objects since some providers cannot show a preview if the content type is missing.

To facilitate this, I've extended the UploadObject method to accept a variable list of options. The only introduction option is the content type, but it is extensible for other options.

  • I added CHANGELOG entry for this change.
  • Change is not relevant to the end user.

Changes

Verification

I would like to be able to set the content type on uploaded objects
since some providers cannot show a preview if the content type is missing.

To facilitate this, I've extended the UploadObject method to accept a variable
list of options. The only introduction option is the content type, but it is
extensible for other options.

Signed-off-by: Filip Petkovski <[email protected]>
Signed-off-by: Filip Petkovski <[email protected]>
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