You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`${boundary}${next}${formData}name="text"${next}${next}some text ...${next}${next}${boundary}${next}${formData}name="z"${next}${next}text inside z${next}${next}${boundary}${next}${formData}name="file1"; filename="a.txt"${next}Content-Type: text/plain${next}${next}Content of a.txt.${next}${next}${boundary}${next}${formData}name="file2"; filename="a.html"${next}Content-Type: text/html${next}${next}<!DOCTYPE html><title>Content of a.html.</title>${next}${next}${boundary}--`,
11
+
constblob2=newBlob(
12
+
['<!DOCTYPE html><title>Content of a.html.</title>'],
13
+
{type: 'text/html'}
10
14
);
11
15
16
+
constfd=newFormData();
17
+
fd.set('text','some text ...');
18
+
fd.set('z','text inside z');
19
+
fd.set('file1',blob1,'a.txt');
20
+
fd.set('file2',blob2,'a.html');
21
+
12
22
constmultipartParser=newMultipartParser();
13
23
multipartParser.on('data',({ name, buffer, start, end })=>{
0 commit comments