You're replying to a comment by pieter joubert.

pieter joubert Permalink
March 29, 2013, 07:46

Hi,
If you watch the first part of this video http://www.youtube.com/watch?v=hzyz3u3dlTg
it talks all about how the http module progressed (with the help of the guy in the video) and how writing a proxy in node changed from a 2 page program to eventually a 1 line (without requires and console loging) program

var http = require('http'),
request = require('request');
http.createServer(function(req,res){
req.pipe(request(req.url)).pipe(res)
}).listen(8000)
console.log("Server running at http://127.0.0.1:8000/")

Reply To This Comment

(why do I need your e-mail?)

(Your twitter name, if you have one. (I'm @pkrumins, btw.))

Type the word "sandbox_215": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.