HTTP::Body 0.9, patches from Ton Voon to fix empty fields on multipart/form-data...
[catagits/HTTP-Body.git] / t / data / multipart / 001-results.yml
index f7f3ee8..7641e40 100644 (file)
@@ -5,6 +5,7 @@ param:
     - A
     - B
   text1: Ratione accusamus aspernatur aliquam
+  text2: ""
   textarea: "Voluptatem cumque voluptate sit recusandae at. Et quas facere rerum unde esse. Sit est et voluptatem. Vel temporibus velit neque odio non.\r\n\r\nMolestias rerum ut sapiente facere repellendus illo. Eum nulla quis aut. Quidem voluptas vitae ipsam officia voluptatibus eveniet. Aspernatur cupiditate ratione aliquam quidem corrupti. Eos sunt rerum non optio culpa."
 upload:
   upload:
@@ -13,20 +14,20 @@ upload:
         Content-Disposition: form-data; name="upload"; filename="hello.pl"
         Content-Type: application/octet-stream
       name: upload
-      size: 71
+      size: 78
     - filename: hello.pl
       headers:
         Content-Disposition: form-data; name="upload"; filename="hello.pl"
         Content-Type: application/octet-stream
       name: upload
-      size: 71
+      size: 78
   upload2:
     filename: hello.pl
     headers:
       Content-Disposition: form-data; name="upload2"; filename="hello.pl"
       Content-Type: application/octet-stream
     name: upload2
-    size: 71
+    size: 78
   upload3:
     filename: blank.pl
     headers:
@@ -34,3 +35,9 @@ upload:
       Content-Type: application/octet-stream
     name: upload3
     size: 0
+  upload4:
+    filename: 0
+    headers:
+      Content-Disposition: form-data; name="upload4"; filename="0"
+    name: upload4
+    size: 0