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

Ensure PSR-7 stream read() is called with an int argument per spec #2543

Merged
merged 1 commit into from Nov 27, 2018
Merged

Ensure PSR-7 stream read() is called with an int argument per spec #2543

merged 1 commit into from Nov 27, 2018

Commits on Nov 22, 2018

  1. Ensure PSR-7 body->read() is called with an int argument per spec

    The spec requires that the length argument of the body read method be
    an integer, but Slim's implementation causes Content-Length to be
    retrieved as a string due to its use of $response->getHeaderLine. This
    causes compatibility issues with PSR-7 implementations that use strict
    typing, namely zendframework/zend-dictoros 2.0+.
    soren121 committed Nov 22, 2018
    Copy the full SHA
    52f23a9 View commit details
    Browse the repository at this point in the history