{"action":"created","issue":{"url":"https://api.github.com/repos/gustavnikolaj/hijackresponse/issues/1","labels_url":"https://api.github.com/repos/gustavnikolaj/hijackresponse/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/gustavnikolaj/hijackresponse/issues/1/comments","events_url":"https://api.github.com/repos/gustavnikolaj/hijackresponse/issues/1/events","html_url":"https://github.com/gustavnikolaj/hijackresponse/issues/1","id":107271868,"number":1,"title":"Use streams2/3","user":{"login":"papandreou","id":373545,"avatar_url":"https://avatars.githubusercontent.com/u/373545?v=3","gravatar_id":"","url":"https://api.github.com/users/papandreou","html_url":"https://github.com/papandreou","followers_url":"https://api.github.com/users/papandreou/followers","following_url":"https://api.github.com/users/papandreou/following{/other_user}","gists_url":"https://api.github.com/users/papandreou/gists{/gist_id}","starred_url":"https://api.github.com/users/papandreou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/papandreou/subscriptions","organizations_url":"https://api.github.com/users/papandreou/orgs","repos_url":"https://api.github.com/users/papandreou/repos","events_url":"https://api.github.com/users/papandreou/events{/privacy}","received_events_url":"https://api.github.com/users/papandreou/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-09-18T20:27:02Z","updated_at":"2015-09-21T21:16:44Z","closed_at":null,"body":"I think it might be possible to make `hijackedResponse` an instance of `require('stream').Readable` while setting its prototype to the original response as in https://github.com/gustavnikolaj/hijackresponse/blob/master/lib/hijackResponse.js#L35\r\n\r\nThe readable stream methods could just be copied to the `hijackedResponse` itself, sort of how `require('stream').Duplex` inherits parasitically from `require('stream').Writable`: https://github.com/nodejs/node/blob/master/lib/_stream_duplex.js"},"comment":{"url":"https://api.github.com/repos/gustavnikolaj/hijackresponse/issues/comments/142110530","html_url":"https://github.com/gustavnikolaj/hijackresponse/issues/1#issuecomment-142110530","issue_url":"https://api.github.com/repos/gustavnikolaj/hijackresponse/issues/1","id":142110530,"user":{"login":"gustavnikolaj","id":1371503,"avatar_url":"https://avatars.githubusercontent.com/u/1371503?v=3","gravatar_id":"","url":"https://api.github.com/users/gustavnikolaj","html_url":"https://github.com/gustavnikolaj","followers_url":"https://api.github.com/users/gustavnikolaj/followers","following_url":"https://api.github.com/users/gustavnikolaj/following{/other_user}","gists_url":"https://api.github.com/users/gustavnikolaj/gists{/gist_id}","starred_url":"https://api.github.com/users/gustavnikolaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gustavnikolaj/subscriptions","organizations_url":"https://api.github.com/users/gustavnikolaj/orgs","repos_url":"https://api.github.com/users/gustavnikolaj/repos","events_url":"https://api.github.com/users/gustavnikolaj/events{/privacy}","received_events_url":"https://api.github.com/users/gustavnikolaj/received_events","type":"User","site_admin":false},"created_at":"2015-09-21T21:16:44Z","updated_at":"2015-09-21T21:16:44Z","body":"And it's updated once more. I cannot break it myself. :-) "}}