aboutsummaryrefslogtreecommitdiffstats
path: root/node_modules/express/client.js
diff options
context:
space:
mode:
authorTeddy Wing2013-04-27 19:25:40 -0400
committerTeddy Wing2013-04-27 19:25:56 -0400
commit512e8b2da71de59132a29e80d7359ac843d62f07 (patch)
tree3f5024a4f75072eda45713dcd429a0b58bf969b9 /node_modules/express/client.js
parent4b14305623d5ddc59f435fc5e35c54c0def1d392 (diff)
downloadWho-am-I-512e8b2da71de59132a29e80d7359ac843d62f07.tar.bz2
Untrack ./node_modules
Sorry, my bad for not ignoring it initially.
Diffstat (limited to 'node_modules/express/client.js')
-rw-r--r--node_modules/express/client.js25
1 files changed, 0 insertions, 25 deletions
diff --git a/node_modules/express/client.js b/node_modules/express/client.js
deleted file mode 100644
index 8984c44..0000000
--- a/node_modules/express/client.js
+++ /dev/null
@@ -1,25 +0,0 @@
-
-var http = require('http');
-
-var times = 50;
-
-while (times--) {
- var req = http.request({
- port: 3000
- , method: 'POST'
- , headers: { 'Content-Type': 'application/x-www-form-urlencoded' }
- });
-
- req.on('response', function(res){
- console.log(res.statusCode);
- });
-
- var n = 500000;
- while (n--) {
- req.write('foo=bar&bar=baz&');
- }
-
- req.write('foo=bar&bar=baz');
-
- req.end();
-} \ No newline at end of file