2 gh-issue #93: message body add form ignores numeric indices
11 $temp = new http\Message\Body;
13 array("foo", "bar", "baz"),
18 "type" => "text/plain",
24 "type" => "text/plain",
29 "type" => "text/plain",
42 Content-Disposition: form-data; name="0"
46 Content-Disposition: form-data; name="1"
50 Content-Disposition: form-data; name="2"
54 Content-Disposition: form-data; name="upload"; filename="gh-issue92.php"
55 Content-Transfer-Encoding: binary
56 Content-Type: text/plain
61 $temp = new http\Message\Body;
63 array("foo", "bar", "baz"),
68 "type" => "text/plain",
74 "type" => "text/plain",
79 "type" => "text/plain",
91 Content-Disposition: form-data; name="dir[1]"; filename="gh-issue92.php"
92 Content-Transfer-Encoding: binary
93 Content-Type: text/plain
98 $temp = new http\Message\Body;
100 array("foo", "bar", "baz"),
105 "type" => "text/plain",
111 "type" => "text/plain",
116 "type" => "text/plain",
128 Content-Disposition: form-data; name="dir[2]"; filename="gh-issue92.php"
129 Content-Transfer-Encoding: binary
130 Content-Type: text/plain
135 $temp = new http\Message\Body;
137 array("foo", "bar", "baz"),
142 "type" => "text/plain",
148 "type" => "text/plain",
153 "type" => "text/plain",