可以用request的pipe方法很方便的获取图片的文件流
1: var request = require('request'),
2: fs = require('fs');
request('https://www.google.com.hk/images/srpr/logo3w.png').pipe(fs.createWriteStream('doodle.png'));
req.protocol + "://" + req.headers.host + req.originalUrl