Loading lib/rp.js +1 −0 Original line number Diff line number Diff line Loading @@ -21,6 +21,7 @@ function rp(options) { } } c.method = c.method || 'GET'; c.method = c.method.toUpperCase(); return new Promise(function (resolve, reject) { request(c, function (error, response, body) { if (error) { Loading Loading
lib/rp.js +1 −0 Original line number Diff line number Diff line Loading @@ -21,6 +21,7 @@ function rp(options) { } } c.method = c.method || 'GET'; c.method = c.method.toUpperCase(); return new Promise(function (resolve, reject) { request(c, function (error, response, body) { if (error) { Loading