diff --git a/lib/helpers/formDataToStream.js b/lib/helpers/formDataToStream.js index 972b99f..afc6174 100644 --- a/lib/helpers/formDataToStream.js +++ b/lib/helpers/formDataToStream.js @@ -76,7 +76,7 @@ const formDataToStream = (form, headersHandler, options) => { } const boundaryBytes = textEncoder.encode('--' + boundary + CRLF); - const footerBytes = textEncoder.encode('--' + boundary + '--' + CRLF + CRLF); + const footerBytes = textEncoder.encode('--' + boundary + '--' + CRLF); let contentLength = footerBytes.byteLength; const parts = Array.from(form.entries()).map(([name, value]) => {