Browse Source

Remove empty parts of the parsed URI.

v0.7.4-release
Urban Hafner 16 years ago
parent
commit
6550e8cfa0
  1. 6
      src/http.js

6
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;
};

Loading…
Cancel
Save