Annotation of embedaddon/php/tests/basic/030.phpt, revision 1.1.1.1

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

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>