{"action":"created","issue":{"url":"https://api.github.com/repos/php-http/message/issues/52","repository_url":"https://api.github.com/repos/php-http/message","labels_url":"https://api.github.com/repos/php-http/message/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/php-http/message/issues/52/comments","events_url":"https://api.github.com/repos/php-http/message/issues/52/events","html_url":"https://github.com/php-http/message/pull/52","id":169485134,"number":52,"title":"Add buffered stream","user":{"login":"joelwurtz","id":90466,"avatar_url":"https://avatars.githubusercontent.com/u/90466?v=3","gravatar_id":"","url":"https://api.github.com/users/joelwurtz","html_url":"https://github.com/joelwurtz","followers_url":"https://api.github.com/users/joelwurtz/followers","following_url":"https://api.github.com/users/joelwurtz/following{/other_user}","gists_url":"https://api.github.com/users/joelwurtz/gists{/gist_id}","starred_url":"https://api.github.com/users/joelwurtz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joelwurtz/subscriptions","organizations_url":"https://api.github.com/users/joelwurtz/orgs","repos_url":"https://api.github.com/users/joelwurtz/repos","events_url":"https://api.github.com/users/joelwurtz/events{/privacy}","received_events_url":"https://api.github.com/users/joelwurtz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-08-04T22:08:38Z","updated_at":"2016-08-07T12:23:02Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/php-http/message/pulls/52","html_url":"https://github.com/php-http/message/pull/52","diff_url":"https://github.com/php-http/message/pull/52.diff","patch_url":"https://github.com/php-http/message/pull/52.patch"},"body":"| Q               | A\r\n| --------------- | ---\r\n| Bug fix?        | yes\r\n| New feature?    | yes\r\n| BC breaks?      | no\r\n| Deprecations?   | no\r\n| Related tickets | mentioned in #46, replace #49\r\n| Documentation   | \r\n| License         | MIT\r\n\r\nThis is a replacement for the MemoryCloner, this allow to decorate a not seekable stream with a seekable one.\r\n\r\nIn order to do that it buffer the underlying stream into a php://temp resource by default (but can also be fully buffered into memory).\r\n\r\nIt never reads the underlying stream, until it has been tell to do so.\r\n\r\nOnce this is merged i will add a EnsureSeekableStreamPlugin, which decorates the request body and the response body with this one if the existing stream is not seekable, so we would be able to get the stream content (format) even for not seekable stream (only if user want it)."},"comment":{"url":"https://api.github.com/repos/php-http/message/issues/comments/238079464","html_url":"https://github.com/php-http/message/pull/52#issuecomment-238079464","issue_url":"https://api.github.com/repos/php-http/message/issues/52","id":238079464,"user":{"login":"Nyholm","id":1275206,"avatar_url":"https://avatars.githubusercontent.com/u/1275206?v=3","gravatar_id":"","url":"https://api.github.com/users/Nyholm","html_url":"https://github.com/Nyholm","followers_url":"https://api.github.com/users/Nyholm/followers","following_url":"https://api.github.com/users/Nyholm/following{/other_user}","gists_url":"https://api.github.com/users/Nyholm/gists{/gist_id}","starred_url":"https://api.github.com/users/Nyholm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nyholm/subscriptions","organizations_url":"https://api.github.com/users/Nyholm/orgs","repos_url":"https://api.github.com/users/Nyholm/repos","events_url":"https://api.github.com/users/Nyholm/events{/privacy}","received_events_url":"https://api.github.com/users/Nyholm/received_events","type":"User","site_admin":false},"created_at":"2016-08-07T12:23:02Z","updated_at":"2016-08-07T12:23:02Z","body":"👍 "}}
{"actor":{"display_login":"Nyholm"}}