We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Not all streams are seekable, and we should not assume this here:
https://github.com/slimphp/Slim/blob/3.x/Slim/App.php#L352
This bit me when trying to send a Guzzle PumpStream which tosses an exception when you try to seek it. I'll send a PR shortly.
The text was updated successfully, but these errors were encountered:
I am pretty sure this came about from the discussion about php://input not being seekable
Sorry, something went wrong.
Merge pull request #1435 from codeguy/3.x-verify-body-streamable
15aea44
Do not assume response body is seekable in App::respond. Fixes #1434
codeguy
No branches or pull requests
Not all streams are seekable, and we should not assume this here:
https://github.com/slimphp/Slim/blob/3.x/Slim/App.php#L352
This bit me when trying to send a Guzzle PumpStream which tosses an exception when you try to seek it. I'll send a PR shortly.
The text was updated successfully, but these errors were encountered: