I\'m making a HTTP request and listen for \"data\":
response.on(\"data\", function (data) { ... })
The problem is that the response is chun
If you don't mind using the request library
var request = require('request'); request('http://www.google.com', function (error, response, body) { if (!error && response.statusCode == 200) { console.log(body) // Print the google web page. } })