Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix subsequent reads from php://input in ServerRequest #247

Merged
merged 1 commit into from Feb 20, 2019

Commits on Dec 7, 2018

  1. 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.
    sagikazarmark committed Dec 7, 2018
    Copy the full SHA
    d3dfe3d View commit details
    Browse the repository at this point in the history