{"action":"created","issue":{"url":"https://api.github.com/repos/bitinn/node-fetch/issues/11","labels_url":"https://api.github.com/repos/bitinn/node-fetch/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/bitinn/node-fetch/issues/11/comments","events_url":"https://api.github.com/repos/bitinn/node-fetch/issues/11/events","html_url":"https://github.com/bitinn/node-fetch/pull/11","id":68939358,"number":11,"title":"Allow body option to be a buffer","user":{"login":"dmikis","id":556359,"avatar_url":"https://avatars.githubusercontent.com/u/556359?v=3","gravatar_id":"","url":"https://api.github.com/users/dmikis","html_url":"https://github.com/dmikis","followers_url":"https://api.github.com/users/dmikis/followers","following_url":"https://api.github.com/users/dmikis/following{/other_user}","gists_url":"https://api.github.com/users/dmikis/gists{/gist_id}","starred_url":"https://api.github.com/users/dmikis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmikis/subscriptions","organizations_url":"https://api.github.com/users/dmikis/orgs","repos_url":"https://api.github.com/users/dmikis/repos","events_url":"https://api.github.com/users/dmikis/events{/privacy}","received_events_url":"https://api.github.com/users/dmikis/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-04-16T14:43:23Z","updated_at":"2015-12-08T15:42:25Z","closed_at":"2015-04-17T03:07:55Z","pull_request":{"url":"https://api.github.com/repos/bitinn/node-fetch/pulls/11","html_url":"https://github.com/bitinn/node-fetch/pull/11","diff_url":"https://github.com/bitinn/node-fetch/pull/11.diff","patch_url":"https://github.com/bitinn/node-fetch/pull/11.patch"},"body":"Subj."},"comment":{"url":"https://api.github.com/repos/bitinn/node-fetch/issues/comments/162921829","html_url":"https://github.com/bitinn/node-fetch/pull/11#issuecomment-162921829","issue_url":"https://api.github.com/repos/bitinn/node-fetch/issues/11","id":162921829,"user":{"login":"mbrevda","id":293004,"avatar_url":"https://avatars.githubusercontent.com/u/293004?v=3","gravatar_id":"","url":"https://api.github.com/users/mbrevda","html_url":"https://github.com/mbrevda","followers_url":"https://api.github.com/users/mbrevda/followers","following_url":"https://api.github.com/users/mbrevda/following{/other_user}","gists_url":"https://api.github.com/users/mbrevda/gists{/gist_id}","starred_url":"https://api.github.com/users/mbrevda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbrevda/subscriptions","organizations_url":"https://api.github.com/users/mbrevda/orgs","repos_url":"https://api.github.com/users/mbrevda/repos","events_url":"https://api.github.com/users/mbrevda/events{/privacy}","received_events_url":"https://api.github.com/users/mbrevda/received_events","type":"User","site_admin":false},"created_at":"2015-12-08T15:42:25Z","updated_at":"2015-12-08T15:42:25Z","body":"As for a use case: to be able to send data directly to a method that expects a Buffer:\r\n\r\n```js\r\nvar p = fetch('http://some/' + image.location)\r\n    .then(function(res){\r\n        var hash = crypto.createHash('sha1').update(res.body).digest('hex')\r\n        fs.createWriteStream(hash).write(res.body)\r\n    })\r\n```\r\n\r\nOr is there some way to do this currently?"}}