From 2a08578f5b9015001bcab19d6db4311bce059601 Mon Sep 17 00:00:00 2001 From: cui Date: Sat, 25 Apr 2026 01:45:19 +0800 Subject: [PATCH] chore: boundary error (#7419) Co-authored-by: Jay --- lib/helpers/formDataToStream.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/helpers/formDataToStream.js b/lib/helpers/formDataToStream.js index 76127910..38320493 100644 --- a/lib/helpers/formDataToStream.js +++ b/lib/helpers/formDataToStream.js @@ -77,7 +77,7 @@ const formDataToStream = (form, headersHandler, options) => { } if (boundary.length < 1 || boundary.length > 70) { - throw Error('boundary must be 10-70 characters long'); + throw Error('boundary must be 1-70 characters long'); } const boundaryBytes = textEncoder.encode('--' + boundary + CRLF);