Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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+.
- Loading branch information