summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/http.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/http.js b/src/http.js
index 1f3ee39cc..bef88bcbe 100644
--- a/src/http.js
+++ b/src/http.js
@@ -66,7 +66,11 @@ node.http.parseUri = function (str) {
}
});
uri.toString = function () { return str; };
-
+
+ for (var i = o.key.length - 1; i >= 0; i--){
+ if (uri[o.key[i]] == "") delete uri[o.key[i]];
+ };
+
return uri;
};