WishMeLz

生活其实很有趣

request获取重定向的地址

 var r = request(url, function (e, response,body) {
        r.uri
        response.request.uri
        console.log(response.statusCode);
        console.log(this.uri.href);
    })