Skip to content

Instantly share code, notes, and snippets.

@nulltask
Created February 13, 2012 14:25
Show Gist options
  • Select an option

  • Save nulltask/1817262 to your computer and use it in GitHub Desktop.

Select an option

Save nulltask/1817262 to your computer and use it in GitHub Desktop.
request({ uri: 'http://example.org/foo.png', encoding: 'binary' }, function(err, res, body) {
// body is not broken!
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment