Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix subsequent reads from php://input in ServerRequest
According to the PHP documentation reading from the same php://input stream is not possible. Even reading from separate streams is SAPI dependent. http://php.net/manual/de/wrappers.php.php#wrappers.php.input This change adds a CachingStream wrapping the default stream when using ServerRequest::fromGlobals to allow subsequent reads.
- Loading branch information