Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
module.exports = function (options, callback) {
var runner = new runtime.Runner(),
userRequest,
collection;
options = _.defaults(options, {
method: 'get',
url: undefined,
timeout: undefined,
ignoreRedirects: false
});
userRequest = {
method: options.method,
url: options.url,
header: options.header
};