mirror of
https://github.com/nodejs/node.git
synced 2026-12-03 18:03:02 -05:00
url: significantly improve the performance of the url module
(landed by @rvagg) PR-URL: https://github.com/iojs/io.js/pull/1561 Reviewed-By: Domenic Denicola <domenic@domenicdenicola.com> Reviewed-By: Rod Vagg <rod@vagg.org>
This commit is contained in:
1 parent
57c4cc26e2
commit
3fd7fc429c
6 files changed
+2812
-555
No files matched your search
+1
-1
@@ -107,7 +107,7 @@ exports.Agent = Agent;
|
||||
|
||||
exports.request = function(options, cb) {
|
||||
if (typeof options === 'string') {
|
||||
options = url.parse(options);
|
||||
options = url.parse(options).toJSON();
|
||||
} else {
|
||||
options = util._extend({}, options);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user