diff --git a/lib/adapters/http.js b/lib/adapters/http.js index 38f92e43f2..d3b1191a33 100755 --- a/lib/adapters/http.js +++ b/lib/adapters/http.js @@ -85,6 +85,10 @@ module.exports = function httpAdapter(config) { method: config.method.toUpperCase(), headers: headers, agent: agent, + agents: { + httpsAgent: config.httpsAgent, + httpAgent: config.httpAgent + }, auth: auth };