Skip to content

Instantly share code, notes, and snippets.

@kriszyp
Created July 28, 2010 03:15
Show Gist options
  • Save kriszyp/493268 to your computer and use it in GitHub Desktop.
Save kriszyp/493268 to your computer and use it in GitHub Desktop.
var request = require("rhino-http-client").request;
var r = request({url:"http://www.google.com"});
r.then(function(r){
print("status: " + r.status);
r.body.forEach(function(){
print("part")
}).then(function(){
print("done");
})
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment