frankenphp
frankenphp copied to clipboard
should stdin be the request body?
Describe you feature request
I was trying to read a slow, chunked request in PHP, however, php://input can only be read once and to completion. What do you think about adding the ability to read a request body from php://stdin? I'm not sure how this would work, exactly, but it would give the ability to stream a body (no matter the size)?
Describe the solution you'd like
php://stdin should allow reading the request body.