Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan <ry@tinyclouds.org>2009-05-19 15:12:46 +0400
committerRyan <ry@tinyclouds.org>2009-05-19 15:12:46 +0400
commit87e6578aa9e15c7c57cabc6562a8dc68aa04aff4 (patch)
tree7a2f8b9bdd7326f2d7d9ac54da798501076a6e29 /test-http_simple.js
parent3bc73ba9674d0fda4dc04edbe08cfb92b15f2461 (diff)
Simple HTTP client is working a bit.
Diffstat (limited to 'test-http_simple.js')
-rw-r--r--test-http_simple.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test-http_simple.js b/test-http_simple.js
index 61f21f01917..30dfd4013d9 100644
--- a/test-http_simple.js
+++ b/test-http_simple.js
@@ -4,7 +4,7 @@ for (var i = 0; i < 20*1024; i++) {
}
stored = {};
new node.http.Server(function (req, res) {
- var commands = req.uri.split("/");
+ var commands = req.uri.path.split("/");
var command = commands[1];
var body = "";
var arg = commands[2];