Skip to content

Upload file with custom content type? #82

@shkim

Description

@shkim

How can I set the content type of the uploading file? (for example, image/jpeg)
I tried to set the .ContentType member of returned value from obj.Attrs()
but it seems that Attrs() is only usable for download of existing file.
I found that there is UploadFile method but I could not find how to use.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions