I really can't figure out what I've done wrong. I've spent about half an hour looking at this code and re-reading code that essentially does the same thing and works. The 'data' event and corresponding callback is never triggered.
var http = require("http");
http.createServer(function(request, response){
    response.writeHead(200);
    console.log('Executing');
    request.on('data', function(chunk){
        console.log('data being read');
        console.log(chunk.toString());
     });
    request.on('end', function(){
         console.log('done');
         response.end();
    });
}).listen(8080);
Please help
 
    