Ensure PSR-7 body->read() is called with an int argument per spec
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+.

juliangut/Slim,akrabat/Slim