add "duplex: 'half'" to fetch stream example

This commit is contained in:
Yonatan Bendahan
2025-08-05 15:20:12 +03:00
parent 5a6b849ff8
commit 1aaded9241
+1
View File
@@ -312,6 +312,7 @@ const output = new Output({
const uploadComplete = fetch('https://example.com/upload', {
method: 'POST',
body: readable,
duplex: 'half',
headers: {
'Content-Type': output.format.mimeType,
},