{"action":"created","issue":{"url":"https://api.github.com/repos/slimphp/Slim/issues/1165","labels_url":"https://api.github.com/repos/slimphp/Slim/issues/1165/labels{/name}","comments_url":"https://api.github.com/repos/slimphp/Slim/issues/1165/comments","events_url":"https://api.github.com/repos/slimphp/Slim/issues/1165/events","html_url":"https://github.com/slimphp/Slim/issues/1165","id":68083179,"number":1165,"title":"Adjustable Configuration","user":{"login":"geggleto","id":4027602,"avatar_url":"https://avatars.githubusercontent.com/u/4027602?v=3","gravatar_id":"","url":"https://api.github.com/users/geggleto","html_url":"https://github.com/geggleto","followers_url":"https://api.github.com/users/geggleto/followers","following_url":"https://api.github.com/users/geggleto/following{/other_user}","gists_url":"https://api.github.com/users/geggleto/gists{/gist_id}","starred_url":"https://api.github.com/users/geggleto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geggleto/subscriptions","organizations_url":"https://api.github.com/users/geggleto/orgs","repos_url":"https://api.github.com/users/geggleto/repos","events_url":"https://api.github.com/users/geggleto/events{/privacy}","received_events_url":"https://api.github.com/users/geggleto/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-13T12:18:23Z","updated_at":"2015-04-13T12:46:59Z","closed_at":null,"body":"Hello,\r\n\r\nI just noticed that in Slim there is a constant that I would likely want to change in production.\r\n\r\nI get that most of the time 1024 is enough, for most but not likely for all.\r\nSurfacing this would be nice or even just return the whole stream if available.\r\n\r\nSlim:run() 413->421\r\n````\r\n                $body = $response->getBody();\r\n                if ($body->isAttached()) {\r\n                    $body->rewind();\r\n                    while (!$body->eof()) {\r\n                        echo $body->read(1024);\r\n                    }\r\n                }\r\n```\r\n\r\nThoughts ?\r\n"},"comment":{"url":"https://api.github.com/repos/slimphp/Slim/issues/comments/92340495","html_url":"https://github.com/slimphp/Slim/issues/1165#issuecomment-92340495","issue_url":"https://api.github.com/repos/slimphp/Slim/issues/1165","id":92340495,"user":{"login":"geggleto","id":4027602,"avatar_url":"https://avatars.githubusercontent.com/u/4027602?v=3","gravatar_id":"","url":"https://api.github.com/users/geggleto","html_url":"https://github.com/geggleto","followers_url":"https://api.github.com/users/geggleto/followers","following_url":"https://api.github.com/users/geggleto/following{/other_user}","gists_url":"https://api.github.com/users/geggleto/gists{/gist_id}","starred_url":"https://api.github.com/users/geggleto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geggleto/subscriptions","organizations_url":"https://api.github.com/users/geggleto/orgs","repos_url":"https://api.github.com/users/geggleto/repos","events_url":"https://api.github.com/users/geggleto/events{/privacy}","received_events_url":"https://api.github.com/users/geggleto/received_events","type":"User","site_admin":false},"created_at":"2015-04-13T12:46:59Z","updated_at":"2015-04-13T12:46:59Z","body":"Will Do"}}