summaryrefslogtreecommitdiffstats
path: root/fastify-busboy/test/fixtures
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-21 20:56:19 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-21 20:56:19 +0000
commit0b6210cd37b68b94252cb798598b12974a20e1c1 (patch)
treee371686554a877842d95aa94f100bee552ff2a8e /fastify-busboy/test/fixtures
parentInitial commit. (diff)
downloadnode-undici-0b6210cd37b68b94252cb798598b12974a20e1c1.tar.xz
node-undici-0b6210cd37b68b94252cb798598b12974a20e1c1.zip
Adding upstream version 5.28.2+dfsg1+~cs23.11.12.3.upstream/5.28.2+dfsg1+_cs23.11.12.3upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'fastify-busboy/test/fixtures')
-rw-r--r--fastify-busboy/test/fixtures/many-noend/original31
-rw-r--r--fastify-busboy/test/fixtures/many-noend/part11
-rw-r--r--fastify-busboy/test/fixtures/many-noend/part1.header1
-rw-r--r--fastify-busboy/test/fixtures/many-noend/part20
-rw-r--r--fastify-busboy/test/fixtures/many-noend/part2.header1
-rw-r--r--fastify-busboy/test/fixtures/many-noend/part30
-rw-r--r--fastify-busboy/test/fixtures/many-noend/part3.header1
-rw-r--r--fastify-busboy/test/fixtures/many-noend/part40
-rw-r--r--fastify-busboy/test/fixtures/many-noend/part4.header1
-rw-r--r--fastify-busboy/test/fixtures/many-noend/part53
-rw-r--r--fastify-busboy/test/fixtures/many-noend/part5.header1
-rw-r--r--fastify-busboy/test/fixtures/many-noend/part61
-rw-r--r--fastify-busboy/test/fixtures/many-noend/part6.header1
-rw-r--r--fastify-busboy/test/fixtures/many-noend/part7.header2
-rw-r--r--fastify-busboy/test/fixtures/many-wrongboundary/original32
-rw-r--r--fastify-busboy/test/fixtures/many-wrongboundary/preamble33
-rw-r--r--fastify-busboy/test/fixtures/many-wrongboundary/preamble.error1
-rw-r--r--fastify-busboy/test/fixtures/many/original32
-rw-r--r--fastify-busboy/test/fixtures/many/part11
-rw-r--r--fastify-busboy/test/fixtures/many/part1.header1
-rw-r--r--fastify-busboy/test/fixtures/many/part20
-rw-r--r--fastify-busboy/test/fixtures/many/part2.header1
-rw-r--r--fastify-busboy/test/fixtures/many/part30
-rw-r--r--fastify-busboy/test/fixtures/many/part3.header1
-rw-r--r--fastify-busboy/test/fixtures/many/part40
-rw-r--r--fastify-busboy/test/fixtures/many/part4.header1
-rw-r--r--fastify-busboy/test/fixtures/many/part53
-rw-r--r--fastify-busboy/test/fixtures/many/part5.header1
-rw-r--r--fastify-busboy/test/fixtures/many/part60
-rw-r--r--fastify-busboy/test/fixtures/many/part6.header2
-rw-r--r--fastify-busboy/test/fixtures/many/part71
-rw-r--r--fastify-busboy/test/fixtures/many/part7.header1
-rw-r--r--fastify-busboy/test/fixtures/nested-full/original24
-rw-r--r--fastify-busboy/test/fixtures/nested-full/part11
-rw-r--r--fastify-busboy/test/fixtures/nested-full/part1.header1
-rw-r--r--fastify-busboy/test/fixtures/nested-full/part212
-rw-r--r--fastify-busboy/test/fixtures/nested-full/part2.header2
-rw-r--r--fastify-busboy/test/fixtures/nested-full/preamble.header2
-rw-r--r--fastify-busboy/test/fixtures/nested/original21
-rw-r--r--fastify-busboy/test/fixtures/nested/part11
-rw-r--r--fastify-busboy/test/fixtures/nested/part1.header1
-rw-r--r--fastify-busboy/test/fixtures/nested/part212
-rw-r--r--fastify-busboy/test/fixtures/nested/part2.header2
43 files changed, 234 insertions, 0 deletions
diff --git a/fastify-busboy/test/fixtures/many-noend/original b/fastify-busboy/test/fixtures/many-noend/original
new file mode 100644
index 0000000..ad9f0cc
--- /dev/null
+++ b/fastify-busboy/test/fixtures/many-noend/original
@@ -0,0 +1,31 @@
+------WebKitFormBoundaryWLHCs9qmcJJoyjKR
+Content-Disposition: form-data; name="_method"
+
+put
+------WebKitFormBoundaryWLHCs9qmcJJoyjKR
+Content-Disposition: form-data; name="profile[blog]"
+
+
+------WebKitFormBoundaryWLHCs9qmcJJoyjKR
+Content-Disposition: form-data; name="profile[public_email]"
+
+
+------WebKitFormBoundaryWLHCs9qmcJJoyjKR
+Content-Disposition: form-data; name="profile[interests]"
+
+
+------WebKitFormBoundaryWLHCs9qmcJJoyjKR
+Content-Disposition: form-data; name="profile[bio]"
+
+hello
+
+"quote"
+------WebKitFormBoundaryWLHCs9qmcJJoyjKR
+Content-Disposition: form-data; name="commit"
+
+Save
+------WebKitFormBoundaryWLHCs9qmcJJoyjKR
+Content-Disposition: form-data; name="media"; filename=""
+Content-Type: application/octet-stream
+
+
diff --git a/fastify-busboy/test/fixtures/many-noend/part1 b/fastify-busboy/test/fixtures/many-noend/part1
new file mode 100644
index 0000000..a232311
--- /dev/null
+++ b/fastify-busboy/test/fixtures/many-noend/part1
@@ -0,0 +1 @@
+put \ No newline at end of file
diff --git a/fastify-busboy/test/fixtures/many-noend/part1.header b/fastify-busboy/test/fixtures/many-noend/part1.header
new file mode 100644
index 0000000..5e6bbe5
--- /dev/null
+++ b/fastify-busboy/test/fixtures/many-noend/part1.header
@@ -0,0 +1 @@
+{"content-disposition": ["form-data; name=\"_method\""]} \ No newline at end of file
diff --git a/fastify-busboy/test/fixtures/many-noend/part2 b/fastify-busboy/test/fixtures/many-noend/part2
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/fastify-busboy/test/fixtures/many-noend/part2
diff --git a/fastify-busboy/test/fixtures/many-noend/part2.header b/fastify-busboy/test/fixtures/many-noend/part2.header
new file mode 100644
index 0000000..5b53966
--- /dev/null
+++ b/fastify-busboy/test/fixtures/many-noend/part2.header
@@ -0,0 +1 @@
+{"content-disposition": ["form-data; name=\"profile[blog]\""]} \ No newline at end of file
diff --git a/fastify-busboy/test/fixtures/many-noend/part3 b/fastify-busboy/test/fixtures/many-noend/part3
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/fastify-busboy/test/fixtures/many-noend/part3
diff --git a/fastify-busboy/test/fixtures/many-noend/part3.header b/fastify-busboy/test/fixtures/many-noend/part3.header
new file mode 100644
index 0000000..579e16e
--- /dev/null
+++ b/fastify-busboy/test/fixtures/many-noend/part3.header
@@ -0,0 +1 @@
+{"content-disposition": ["form-data; name=\"profile[public_email]\""]} \ No newline at end of file
diff --git a/fastify-busboy/test/fixtures/many-noend/part4 b/fastify-busboy/test/fixtures/many-noend/part4
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/fastify-busboy/test/fixtures/many-noend/part4
diff --git a/fastify-busboy/test/fixtures/many-noend/part4.header b/fastify-busboy/test/fixtures/many-noend/part4.header
new file mode 100644
index 0000000..b41be09
--- /dev/null
+++ b/fastify-busboy/test/fixtures/many-noend/part4.header
@@ -0,0 +1 @@
+{"content-disposition": ["form-data; name=\"profile[interests]\""]} \ No newline at end of file
diff --git a/fastify-busboy/test/fixtures/many-noend/part5 b/fastify-busboy/test/fixtures/many-noend/part5
new file mode 100644
index 0000000..f2bb979
--- /dev/null
+++ b/fastify-busboy/test/fixtures/many-noend/part5
@@ -0,0 +1,3 @@
+hello
+
+"quote" \ No newline at end of file
diff --git a/fastify-busboy/test/fixtures/many-noend/part5.header b/fastify-busboy/test/fixtures/many-noend/part5.header
new file mode 100644
index 0000000..92e417f
--- /dev/null
+++ b/fastify-busboy/test/fixtures/many-noend/part5.header
@@ -0,0 +1 @@
+{"content-disposition": ["form-data; name=\"profile[bio]\""]} \ No newline at end of file
diff --git a/fastify-busboy/test/fixtures/many-noend/part6 b/fastify-busboy/test/fixtures/many-noend/part6
new file mode 100644
index 0000000..f0f5479
--- /dev/null
+++ b/fastify-busboy/test/fixtures/many-noend/part6
@@ -0,0 +1 @@
+Save \ No newline at end of file
diff --git a/fastify-busboy/test/fixtures/many-noend/part6.header b/fastify-busboy/test/fixtures/many-noend/part6.header
new file mode 100644
index 0000000..65a68a9
--- /dev/null
+++ b/fastify-busboy/test/fixtures/many-noend/part6.header
@@ -0,0 +1 @@
+{"content-disposition": ["form-data; name=\"commit\""]} \ No newline at end of file
diff --git a/fastify-busboy/test/fixtures/many-noend/part7.header b/fastify-busboy/test/fixtures/many-noend/part7.header
new file mode 100644
index 0000000..25171e8
--- /dev/null
+++ b/fastify-busboy/test/fixtures/many-noend/part7.header
@@ -0,0 +1,2 @@
+{"content-disposition": ["form-data; name=\"media\"; filename=\"\""],
+ "content-type": ["application/octet-stream"]} \ No newline at end of file
diff --git a/fastify-busboy/test/fixtures/many-wrongboundary/original b/fastify-busboy/test/fixtures/many-wrongboundary/original
new file mode 100644
index 0000000..859770c
--- /dev/null
+++ b/fastify-busboy/test/fixtures/many-wrongboundary/original
@@ -0,0 +1,32 @@
+------WebKitFormBoundaryWLHCs9qmcJJoyjKR
+Content-Disposition: form-data; name="_method"
+
+put
+------WebKitFormBoundaryWLHCs9qmcJJoyjKR
+Content-Disposition: form-data; name="profile[blog]"
+
+
+------WebKitFormBoundaryWLHCs9qmcJJoyjKR
+Content-Disposition: form-data; name="profile[public_email]"
+
+
+------WebKitFormBoundaryWLHCs9qmcJJoyjKR
+Content-Disposition: form-data; name="profile[interests]"
+
+
+------WebKitFormBoundaryWLHCs9qmcJJoyjKR
+Content-Disposition: form-data; name="profile[bio]"
+
+hello
+
+"quote"
+------WebKitFormBoundaryWLHCs9qmcJJoyjKR
+Content-Disposition: form-data; name="media"; filename=""
+Content-Type: application/octet-stream
+
+
+------WebKitFormBoundaryWLHCs9qmcJJoyjKR
+Content-Disposition: form-data; name="commit"
+
+Save
+------WebKitFormBoundaryWLHCs9qmcJJoyjKR-- \ No newline at end of file
diff --git a/fastify-busboy/test/fixtures/many-wrongboundary/preamble b/fastify-busboy/test/fixtures/many-wrongboundary/preamble
new file mode 100644
index 0000000..6e4bcc6
--- /dev/null
+++ b/fastify-busboy/test/fixtures/many-wrongboundary/preamble
@@ -0,0 +1,33 @@
+
+------WebKitFormBoundaryWLHCs9qmcJJoyjKR
+Content-Disposition: form-data; name="_method"
+
+put
+------WebKitFormBoundaryWLHCs9qmcJJoyjKR
+Content-Disposition: form-data; name="profile[blog]"
+
+
+------WebKitFormBoundaryWLHCs9qmcJJoyjKR
+Content-Disposition: form-data; name="profile[public_email]"
+
+
+------WebKitFormBoundaryWLHCs9qmcJJoyjKR
+Content-Disposition: form-data; name="profile[interests]"
+
+
+------WebKitFormBoundaryWLHCs9qmcJJoyjKR
+Content-Disposition: form-data; name="profile[bio]"
+
+hello
+
+"quote"
+------WebKitFormBoundaryWLHCs9qmcJJoyjKR
+Content-Disposition: form-data; name="media"; filename=""
+Content-Type: application/octet-stream
+
+
+------WebKitFormBoundaryWLHCs9qmcJJoyjKR
+Content-Disposition: form-data; name="commit"
+
+Save
+------WebKitFormBoundaryWLHCs9qmcJJoyjKR-- \ No newline at end of file
diff --git a/fastify-busboy/test/fixtures/many-wrongboundary/preamble.error b/fastify-busboy/test/fixtures/many-wrongboundary/preamble.error
new file mode 100644
index 0000000..15f4c89
--- /dev/null
+++ b/fastify-busboy/test/fixtures/many-wrongboundary/preamble.error
@@ -0,0 +1 @@
+Preamble terminated early due to unexpected end of multipart data \ No newline at end of file
diff --git a/fastify-busboy/test/fixtures/many/original b/fastify-busboy/test/fixtures/many/original
new file mode 100644
index 0000000..779c5cb
--- /dev/null
+++ b/fastify-busboy/test/fixtures/many/original
@@ -0,0 +1,32 @@
+------WebKitFormBoundaryWLHCs9qmcJJoyjKR
+Content-Disposition: form-data; name="_method"
+
+put
+------WebKitFormBoundaryWLHCs9qmcJJoyjKR
+Content-Disposition: form-data; name="profile[blog]"
+
+
+------WebKitFormBoundaryWLHCs9qmcJJoyjKR
+Content-Disposition: form-data; name="profile[public_email]"
+
+
+------WebKitFormBoundaryWLHCs9qmcJJoyjKR
+Content-Disposition: form-data; name="profile[interests]"
+
+
+------WebKitFormBoundaryWLHCs9qmcJJoyjKR
+Content-Disposition: form-data; name="profile[bio]"
+
+hello
+
+"quote"
+------WebKitFormBoundaryWLHCs9qmcJJoyjKR
+Content-Disposition: form-data; name="media"; filename=""
+Content-Type: application/octet-stream
+
+
+------WebKitFormBoundaryWLHCs9qmcJJoyjKR
+Content-Disposition: form-data; name="commit"
+
+Save
+------WebKitFormBoundaryWLHCs9qmcJJoyjKR--Extra \ No newline at end of file
diff --git a/fastify-busboy/test/fixtures/many/part1 b/fastify-busboy/test/fixtures/many/part1
new file mode 100644
index 0000000..a232311
--- /dev/null
+++ b/fastify-busboy/test/fixtures/many/part1
@@ -0,0 +1 @@
+put \ No newline at end of file
diff --git a/fastify-busboy/test/fixtures/many/part1.header b/fastify-busboy/test/fixtures/many/part1.header
new file mode 100644
index 0000000..5e6bbe5
--- /dev/null
+++ b/fastify-busboy/test/fixtures/many/part1.header
@@ -0,0 +1 @@
+{"content-disposition": ["form-data; name=\"_method\""]} \ No newline at end of file
diff --git a/fastify-busboy/test/fixtures/many/part2 b/fastify-busboy/test/fixtures/many/part2
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/fastify-busboy/test/fixtures/many/part2
diff --git a/fastify-busboy/test/fixtures/many/part2.header b/fastify-busboy/test/fixtures/many/part2.header
new file mode 100644
index 0000000..5b53966
--- /dev/null
+++ b/fastify-busboy/test/fixtures/many/part2.header
@@ -0,0 +1 @@
+{"content-disposition": ["form-data; name=\"profile[blog]\""]} \ No newline at end of file
diff --git a/fastify-busboy/test/fixtures/many/part3 b/fastify-busboy/test/fixtures/many/part3
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/fastify-busboy/test/fixtures/many/part3
diff --git a/fastify-busboy/test/fixtures/many/part3.header b/fastify-busboy/test/fixtures/many/part3.header
new file mode 100644
index 0000000..579e16e
--- /dev/null
+++ b/fastify-busboy/test/fixtures/many/part3.header
@@ -0,0 +1 @@
+{"content-disposition": ["form-data; name=\"profile[public_email]\""]} \ No newline at end of file
diff --git a/fastify-busboy/test/fixtures/many/part4 b/fastify-busboy/test/fixtures/many/part4
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/fastify-busboy/test/fixtures/many/part4
diff --git a/fastify-busboy/test/fixtures/many/part4.header b/fastify-busboy/test/fixtures/many/part4.header
new file mode 100644
index 0000000..b41be09
--- /dev/null
+++ b/fastify-busboy/test/fixtures/many/part4.header
@@ -0,0 +1 @@
+{"content-disposition": ["form-data; name=\"profile[interests]\""]} \ No newline at end of file
diff --git a/fastify-busboy/test/fixtures/many/part5 b/fastify-busboy/test/fixtures/many/part5
new file mode 100644
index 0000000..f2bb979
--- /dev/null
+++ b/fastify-busboy/test/fixtures/many/part5
@@ -0,0 +1,3 @@
+hello
+
+"quote" \ No newline at end of file
diff --git a/fastify-busboy/test/fixtures/many/part5.header b/fastify-busboy/test/fixtures/many/part5.header
new file mode 100644
index 0000000..92e417f
--- /dev/null
+++ b/fastify-busboy/test/fixtures/many/part5.header
@@ -0,0 +1 @@
+{"content-disposition": ["form-data; name=\"profile[bio]\""]} \ No newline at end of file
diff --git a/fastify-busboy/test/fixtures/many/part6 b/fastify-busboy/test/fixtures/many/part6
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/fastify-busboy/test/fixtures/many/part6
diff --git a/fastify-busboy/test/fixtures/many/part6.header b/fastify-busboy/test/fixtures/many/part6.header
new file mode 100644
index 0000000..25171e8
--- /dev/null
+++ b/fastify-busboy/test/fixtures/many/part6.header
@@ -0,0 +1,2 @@
+{"content-disposition": ["form-data; name=\"media\"; filename=\"\""],
+ "content-type": ["application/octet-stream"]} \ No newline at end of file
diff --git a/fastify-busboy/test/fixtures/many/part7 b/fastify-busboy/test/fixtures/many/part7
new file mode 100644
index 0000000..f0f5479
--- /dev/null
+++ b/fastify-busboy/test/fixtures/many/part7
@@ -0,0 +1 @@
+Save \ No newline at end of file
diff --git a/fastify-busboy/test/fixtures/many/part7.header b/fastify-busboy/test/fixtures/many/part7.header
new file mode 100644
index 0000000..65a68a9
--- /dev/null
+++ b/fastify-busboy/test/fixtures/many/part7.header
@@ -0,0 +1 @@
+{"content-disposition": ["form-data; name=\"commit\""]} \ No newline at end of file
diff --git a/fastify-busboy/test/fixtures/nested-full/original b/fastify-busboy/test/fixtures/nested-full/original
new file mode 100644
index 0000000..3044550
--- /dev/null
+++ b/fastify-busboy/test/fixtures/nested-full/original
@@ -0,0 +1,24 @@
+User-Agent: foo bar baz
+Content-Type: multipart/form-data; boundary=AaB03x
+
+--AaB03x
+Content-Disposition: form-data; name="foo"
+
+bar
+--AaB03x
+Content-Disposition: form-data; name="files"
+Content-Type: multipart/mixed, boundary=BbC04y
+
+--BbC04y
+Content-Disposition: attachment; filename="file.txt"
+Content-Type: text/plain
+
+contents
+--BbC04y
+Content-Disposition: attachment; filename="flowers.jpg"
+Content-Type: image/jpeg
+Content-Transfer-Encoding: binary
+
+contents
+--BbC04y--
+--AaB03x-- \ No newline at end of file
diff --git a/fastify-busboy/test/fixtures/nested-full/part1 b/fastify-busboy/test/fixtures/nested-full/part1
new file mode 100644
index 0000000..ba0e162
--- /dev/null
+++ b/fastify-busboy/test/fixtures/nested-full/part1
@@ -0,0 +1 @@
+bar \ No newline at end of file
diff --git a/fastify-busboy/test/fixtures/nested-full/part1.header b/fastify-busboy/test/fixtures/nested-full/part1.header
new file mode 100644
index 0000000..03bd093
--- /dev/null
+++ b/fastify-busboy/test/fixtures/nested-full/part1.header
@@ -0,0 +1 @@
+{"content-disposition": ["form-data; name=\"foo\""]}
diff --git a/fastify-busboy/test/fixtures/nested-full/part2 b/fastify-busboy/test/fixtures/nested-full/part2
new file mode 100644
index 0000000..2d4deb5
--- /dev/null
+++ b/fastify-busboy/test/fixtures/nested-full/part2
@@ -0,0 +1,12 @@
+--BbC04y
+Content-Disposition: attachment; filename="file.txt"
+Content-Type: text/plain
+
+contents
+--BbC04y
+Content-Disposition: attachment; filename="flowers.jpg"
+Content-Type: image/jpeg
+Content-Transfer-Encoding: binary
+
+contents
+--BbC04y-- \ No newline at end of file
diff --git a/fastify-busboy/test/fixtures/nested-full/part2.header b/fastify-busboy/test/fixtures/nested-full/part2.header
new file mode 100644
index 0000000..bbe4513
--- /dev/null
+++ b/fastify-busboy/test/fixtures/nested-full/part2.header
@@ -0,0 +1,2 @@
+{"content-disposition": ["form-data; name=\"files\""],
+ "content-type": ["multipart/mixed, boundary=BbC04y"]} \ No newline at end of file
diff --git a/fastify-busboy/test/fixtures/nested-full/preamble.header b/fastify-busboy/test/fixtures/nested-full/preamble.header
new file mode 100644
index 0000000..2815341
--- /dev/null
+++ b/fastify-busboy/test/fixtures/nested-full/preamble.header
@@ -0,0 +1,2 @@
+{"user-agent": ["foo bar baz"],
+ "content-type": ["multipart/form-data; boundary=AaB03x"]} \ No newline at end of file
diff --git a/fastify-busboy/test/fixtures/nested/original b/fastify-busboy/test/fixtures/nested/original
new file mode 100644
index 0000000..380f451
--- /dev/null
+++ b/fastify-busboy/test/fixtures/nested/original
@@ -0,0 +1,21 @@
+--AaB03x
+Content-Disposition: form-data; name="foo"
+
+bar
+--AaB03x
+Content-Disposition: form-data; name="files"
+Content-Type: multipart/mixed, boundary=BbC04y
+
+--BbC04y
+Content-Disposition: attachment; filename="file.txt"
+Content-Type: text/plain
+
+contents
+--BbC04y
+Content-Disposition: attachment; filename="flowers.jpg"
+Content-Type: image/jpeg
+Content-Transfer-Encoding: binary
+
+contents
+--BbC04y--
+--AaB03x-- \ No newline at end of file
diff --git a/fastify-busboy/test/fixtures/nested/part1 b/fastify-busboy/test/fixtures/nested/part1
new file mode 100644
index 0000000..ba0e162
--- /dev/null
+++ b/fastify-busboy/test/fixtures/nested/part1
@@ -0,0 +1 @@
+bar \ No newline at end of file
diff --git a/fastify-busboy/test/fixtures/nested/part1.header b/fastify-busboy/test/fixtures/nested/part1.header
new file mode 100644
index 0000000..03bd093
--- /dev/null
+++ b/fastify-busboy/test/fixtures/nested/part1.header
@@ -0,0 +1 @@
+{"content-disposition": ["form-data; name=\"foo\""]}
diff --git a/fastify-busboy/test/fixtures/nested/part2 b/fastify-busboy/test/fixtures/nested/part2
new file mode 100644
index 0000000..2d4deb5
--- /dev/null
+++ b/fastify-busboy/test/fixtures/nested/part2
@@ -0,0 +1,12 @@
+--BbC04y
+Content-Disposition: attachment; filename="file.txt"
+Content-Type: text/plain
+
+contents
+--BbC04y
+Content-Disposition: attachment; filename="flowers.jpg"
+Content-Type: image/jpeg
+Content-Transfer-Encoding: binary
+
+contents
+--BbC04y-- \ No newline at end of file
diff --git a/fastify-busboy/test/fixtures/nested/part2.header b/fastify-busboy/test/fixtures/nested/part2.header
new file mode 100644
index 0000000..bbe4513
--- /dev/null
+++ b/fastify-busboy/test/fixtures/nested/part2.header
@@ -0,0 +1,2 @@
+{"content-disposition": ["form-data; name=\"files\""],
+ "content-type": ["multipart/mixed, boundary=BbC04y"]} \ No newline at end of file