We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d834450 commit 5b31b31Copy full SHA for 5b31b31
src/Client/EchoClient.php
@@ -43,7 +43,7 @@ public function sendRequest(RequestInterface $request):ResponseInterface{
43
44
$response = $response
45
->withHeader('Content-Type', 'application/json')
46
- ->withHeader('Content-Length', strlen($content))
+ ->withHeader('Content-Length', (string)strlen($content))
47
;
48
49
$response->getBody()->write($content);
0 commit comments