{"action":"created","issue":{"url":"https://api.github.com/repos/tencentyun/cos-nodejs-sdk-v5/issues/48","repository_url":"https://api.github.com/repos/tencentyun/cos-nodejs-sdk-v5","labels_url":"https://api.github.com/repos/tencentyun/cos-nodejs-sdk-v5/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/tencentyun/cos-nodejs-sdk-v5/issues/48/comments","events_url":"https://api.github.com/repos/tencentyun/cos-nodejs-sdk-v5/issues/48/events","html_url":"https://github.com/tencentyun/cos-nodejs-sdk-v5/issues/48","id":343544883,"node_id":"MDU6SXNzdWUzNDM1NDQ4ODM=","number":48,"title":"建议增加下载为stream的功能","user":{"login":"WizTeam","id":2747978,"node_id":"MDQ6VXNlcjI3NDc5Nzg=","avatar_url":"https://avatars0.githubusercontent.com/u/2747978?v=4","gravatar_id":"","url":"https://api.github.com/users/WizTeam","html_url":"https://github.com/WizTeam","followers_url":"https://api.github.com/users/WizTeam/followers","following_url":"https://api.github.com/users/WizTeam/following{/other_user}","gists_url":"https://api.github.com/users/WizTeam/gists{/gist_id}","starred_url":"https://api.github.com/users/WizTeam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WizTeam/subscriptions","organizations_url":"https://api.github.com/users/WizTeam/orgs","repos_url":"https://api.github.com/users/WizTeam/repos","events_url":"https://api.github.com/users/WizTeam/events{/privacy}","received_events_url":"https://api.github.com/users/WizTeam/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-07-23T08:57:46Z","updated_at":"2018-08-06T01:27:49Z","closed_at":null,"author_association":"NONE","body":"现在是直接保存成文件，并且是下载完成后才会回调。\r\n\r\n应该增加下载对象为stream，这样方便把这个stream pipe到http response里面。否则的话，就只能下载到本地临时文件，然后再返回给客户。对于大文件，很容易超时，至少效率有问题。直接返回一个stream就好多了。s3，oss都是可以的"},"comment":{"url":"https://api.github.com/repos/tencentyun/cos-nodejs-sdk-v5/issues/comments/410564910","html_url":"https://github.com/tencentyun/cos-nodejs-sdk-v5/issues/48#issuecomment-410564910","issue_url":"https://api.github.com/repos/tencentyun/cos-nodejs-sdk-v5/issues/48","id":410564910,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMDU2NDkxMA==","user":{"login":"dimkua","id":3202847,"node_id":"MDQ6VXNlcjMyMDI4NDc=","avatar_url":"https://avatars3.githubusercontent.com/u/3202847?v=4","gravatar_id":"","url":"https://api.github.com/users/dimkua","html_url":"https://github.com/dimkua","followers_url":"https://api.github.com/users/dimkua/followers","following_url":"https://api.github.com/users/dimkua/following{/other_user}","gists_url":"https://api.github.com/users/dimkua/gists{/gist_id}","starred_url":"https://api.github.com/users/dimkua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimkua/subscriptions","organizations_url":"https://api.github.com/users/dimkua/orgs","repos_url":"https://api.github.com/users/dimkua/repos","events_url":"https://api.github.com/users/dimkua/events{/privacy}","received_events_url":"https://api.github.com/users/dimkua/received_events","type":"User","site_admin":false},"created_at":"2018-08-06T01:27:49Z","updated_at":"2018-08-06T01:27:49Z","author_association":"NONE","body":"同求，可以pipe给response"}}
{"actor":{"display_login":"dimkua"}}