Skip to content

Commit

Permalink
fix(cos): multipart upload failed of content type
Browse files Browse the repository at this point in the history
  • Loading branch information
OrenZhang committed Dec 12, 2024
1 parent 62ea7d1 commit 36e5a6d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions apps/cos/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,6 @@ async def generate_cos_upload_credential(self, filename: str) -> COSCredential:
"cos:UploadPart",
"cos:CompleteMultipartUpload",
],
"condition": {
"numeric_less_than_equal": {
"cos:content-length": settings.QCLOUD_COS_MAX_UPLOAD_SIZE,
},
},
}
try:
sts = Sts(config)
Expand Down

0 comments on commit 36e5a6d

Please sign in to comment.