mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
Fixes https host header default port handling.
This commit is contained in:
1 parent
ef35f4d6c1
commit
24a1f6ecc5
2 files changed
+2
No files matched your search
@@ -69,6 +69,7 @@ exports.request = function(options, cb) {
|
||||
if (options.agent === undefined) {
|
||||
options.agent = globalAgent;
|
||||
}
|
||||
options.defaultPort = options.defaultPort || 443;
|
||||
return http.request(options, cb);
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user