feat: send content-length in video (#925)

This commit is contained in:
Raymond Zhou
2024-03-28 12:05:08 -07:00
committed by GitHub
parent f57d40ea34
commit d44edb84a0

View File

@@ -206,6 +206,7 @@ export async function uploadVideo(
headers: {
'Content-Disposition': `attachment; filename="${uploadFile.name}"`,
'Content-Type': uploadFile.type,
'Content-Length': uploadFile.size,
},
multipart: false,
body: uploadFile,