Skip to content

Commit

Permalink
Boundary should be quoted in the header
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack-Edwards committed May 14, 2024
1 parent c1e2cde commit 0093194
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Crypter.Web/wwwroot/chromiumFetchTest/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function uploadAsync(file) {

return fetch('https://dev.crypter.dev/api/file/transfer/sink', {
method: 'POST',
headers: {'Content-Type': `multipart/form-data; boundary=${boundaryText}`},
headers: {'Content-Type': `multipart/form-data; boundary="${boundaryText}"`},
body: readableStream,
duplex: 'half'
})
Expand Down

0 comments on commit 0093194

Please sign in to comment.