Skip to content

Commit

Permalink
added spark demo
Browse files Browse the repository at this point in the history
  • Loading branch information
Marak committed Aug 1, 2010
1 parent 9aa2216 commit d408e39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ sys.puts('http proxy server '.blue + 'started '.green.bold + 'on port '.blue + '
// create regular http server
http.createServer(function (req, res){
res.writeHead(200, {'Content-Type': 'text/plain'});
res.write('request successfully proxied!' + '\n' + JSON.stringify(req.headers, true, 2));
res.write('request successfully proxied to: ' + req.url + '\n' + JSON.stringify(req.headers, true, 2));
res.end();
}).listen(9000);
sys.puts('http server '.blue + 'started '.green.bold + 'on port '.blue + '9000 '.yellow);

0 comments on commit d408e39

Please sign in to comment.