4 <?php include "skipif.inc"; ?>
6 Content-Type: test/something
13 always_populate_raw_post_data=-1
18 use http\env\Request as HttpEnvRequest;
20 $m = new HttpEnvRequest();
22 // travis' env headers have another order, wtf?
23 $h = $m->getHeaders();
29 echo "Message->toString\n";
32 echo "Body->toString\n";
33 var_dump((string)$m->getBody());
36 var_dump(file_get_contents("php://input"));
46 ["requestMethod":protected]=>
48 ["requestUrl":protected]=>
50 ["responseStatus":protected]=>
52 ["responseCode":protected]=>
54 ["httpVersion":protected]=>
56 ["headers":protected]=>
61 string(14) "test/something"
67 ["parentMessage":protected]=>
70 object(http\QueryString)#%d (1) {
71 ["queryArray":"http\QueryString":private]=>
76 object(http\QueryString)#%d (1) {
77 ["queryArray":"http\QueryString":private]=>
81 ["cookie":protected]=>
82 object(http\QueryString)#%d (1) {
83 ["queryArray":"http\QueryString":private]=>
96 Content-Type: test/something%a