阅读背景:

Node.js使用内容处置作为文件名下载文件

来源:互联网 

I'm using the Request module to download files, but I'm not quite sure how to pipe the response to an output stream when the filename must come from the 'Content-Disposition' header. So basically, I need to read the response until the header is found, and then pipe the rest to that filename.I'm using the Request module to download files,




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: