mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
tls http https: don't pollute user's options object
This commit is contained in:
committed by
Ben Noordhuis
parent
c6c6f98f1c
commit
da908364a8
@@ -83,7 +83,6 @@ exports.request = function(options, cb) {
|
||||
};
|
||||
|
||||
exports.get = function(options, cb) {
|
||||
options.method = 'GET';
|
||||
var req = exports.request(options, cb);
|
||||
req.end();
|
||||
return req;
|
||||
|
||||
Reference in New Issue
Block a user