This is another thing developers likely want for the ServerRequest object: the request body. PHP puts this away in php://input. Currently you would need to pass a stream to the fromArrays method:
$requestBody = fopen('php://input', 'r');
Should fromGlobals be extended with something like “defaults to php://input as body”?
This is another thing developers likely want for the ServerRequest object: the request body. PHP puts this away in
php://input
. Currently you would need to pass a stream to thefromArrays
method:Should
fromGlobals
be extended with something like “defaults to php://input as body”?