2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-17 19:21:29 +03:00

chore: boundary error (#7419)

Co-authored-by: Jay <jasonsaayman@gmail.com>
This commit is contained in:
cui
2026-04-25 01:45:19 +08:00
committed by GitHub
parent 767b975545
commit 2a08578f5b
+1 -1
View File
@@ -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);