Skip to content

Commit 87e4805

Browse files
committed
fix file type
1 parent 1c96db8 commit 87e4805

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/OssClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public async Task<OssResult<PutObjectResult>> PutObjectAsync(BucketInfo bucket,
121121
{
122122
var file = new RequestContent()
123123
{
124-
ContentType = RequestContentType.String,
124+
ContentType = RequestContentType.Stream,
125125
StreamContent = content,
126126
MimeType = mimeType,
127127
Metadata = meta

0 commit comments

Comments
 (0)