xref: /PHP-5.6/tests/basic/030.phpt (revision 797a1ce8)
1--TEST--
2Bug#55504 (Content-Type header is not parsed correctly on HTTP POST request)
3--INI--
4file_uploads=1
5--POST_RAW--
6Content-Type: multipart/form-data; boundary=BVoyv; charset=iso-8859-1
7--BVoyv
8Content-Disposition: form-data; name="data"
9
10abc
11--BVoyv--
12--FILE--
13<?php
14var_dump($_POST);
15?>
16--EXPECT--
17array(1) {
18  ["data"]=>
19  string(3) "abc"
20}
21