{"action":"created","issue":{"url":"https://api.github.com/repos/php-fig/http-message/issues/7","labels_url":"https://api.github.com/repos/php-fig/http-message/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/php-fig/http-message/issues/7/comments","events_url":"https://api.github.com/repos/php-fig/http-message/issues/7/events","html_url":"https://github.com/php-fig/http-message/issues/7","id":46123828,"number":7,"title":"Suggestion: Remove StreamableInterface::__toString","user":{"login":"cboden","id":617694,"avatar_url":"https://avatars.githubusercontent.com/u/617694?v=3","gravatar_id":"","url":"https://api.github.com/users/cboden","html_url":"https://github.com/cboden","followers_url":"https://api.github.com/users/cboden/followers","following_url":"https://api.github.com/users/cboden/following{/other_user}","gists_url":"https://api.github.com/users/cboden/gists{/gist_id}","starred_url":"https://api.github.com/users/cboden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cboden/subscriptions","organizations_url":"https://api.github.com/users/cboden/orgs","repos_url":"https://api.github.com/users/cboden/repos","events_url":"https://api.github.com/users/cboden/events{/privacy}","received_events_url":"https://api.github.com/users/cboden/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-10-17T17:31:21Z","updated_at":"2015-01-22T19:08:01Z","closed_at":null,"body":"> This method MUST attempt to seek to the beginning of the stream before reading data and read the stream until the end is reached.\r\n\r\nNot all streams are seekable. A stream underneath an HTTP/1.1 connection that is chunked would not be seekable nor have a known end. `__toString` is not able to throw an exception. \r\n\r\nI would recommend letting the user explicitly call `isSeekable` followed by `getContents`. "},"comment":{"url":"https://api.github.com/repos/php-fig/http-message/issues/comments/71078616","html_url":"https://github.com/php-fig/http-message/issues/7#issuecomment-71078616","issue_url":"https://api.github.com/repos/php-fig/http-message/issues/7","id":71078616,"user":{"login":"cboden","id":617694,"avatar_url":"https://avatars.githubusercontent.com/u/617694?v=3","gravatar_id":"","url":"https://api.github.com/users/cboden","html_url":"https://github.com/cboden","followers_url":"https://api.github.com/users/cboden/followers","following_url":"https://api.github.com/users/cboden/following{/other_user}","gists_url":"https://api.github.com/users/cboden/gists{/gist_id}","starred_url":"https://api.github.com/users/cboden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cboden/subscriptions","organizations_url":"https://api.github.com/users/cboden/orgs","repos_url":"https://api.github.com/users/cboden/repos","events_url":"https://api.github.com/users/cboden/events{/privacy}","received_events_url":"https://api.github.com/users/cboden/received_events","type":"User","site_admin":false},"created_at":"2015-01-22T19:08:01Z","updated_at":"2015-01-22T19:08:01Z","body":"ping @weierophinney\r\n\r\nThoughts? Did I post this concern in the wrong forum?"}}