3

我正在使用请求模块

request.get({
     url: 'https://www.google.com'        
}, function (err, response, body) {
    console.log('callback called!' );

我打开了请求调试模式:

require('request').debug = true;

所以我看到了调试输出:

   REQUEST { method: 'GET',
  callback: [Function],
  url: 'https://www.google.com' }
REQUEST make request https://www.google.com/

但从未调用过回调

所以有什么问题?它与https有关吗?

4

0 回答 0