4 <?php include "skipif.inc"; ?>
6 Content-Type: test/something
16 use http\env\Request as HttpEnvRequest;
18 $m = new HttpEnvRequest();
22 echo "Message->toString\n";
25 echo "Body->toString\n";
26 var_dump((string)$m->getBody());
29 var_dump(file_get_contents("php://input"));
35 ["errorHandling":protected]=>
41 ["errorHandling":protected]=>
44 ["requestMethod":protected]=>
46 ["requestUrl":protected]=>
48 ["responseStatus":protected]=>
50 ["responseCode":protected]=>
52 ["httpVersion":protected]=>
54 ["headers":protected]=>
61 string(14) "test/something"
65 ["parentMessage":protected]=>
68 object(http\QueryString)#2 (2) {
69 ["errorHandling":protected]=>
71 ["queryArray":"http\QueryString":private]=>
76 object(http\QueryString)#3 (2) {
77 ["errorHandling":protected]=>
79 ["queryArray":"http\QueryString":private]=>
91 Content-Type: test/something%a