Merge pull request #7239 from rogierschouten/node-http-agent

http.RequestOptions.agent can also be a boolean
This commit is contained in:
Horiuchi_H committed 2015-12-22 19:14:08 +09:00
commit 2048ff32d3
2 files changed
+11 -1

No files matched your search

+10
View File
@@ -233,6 +233,16 @@ module http_tests {
});
var agent: http.Agent = http.globalAgent;
http.request({
agent: false
});
http.request({
agent: agent
});
http.request({
agent: undefined
});
}
////////////////////////////////////////////////////