Skip to content

Instantly share code, notes, and snippets.

@saper
Created May 5, 2015 07:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save saper/8ddf5f180f848379bc47 to your computer and use it in GitHub Desktop.
Save saper/8ddf5f180f848379bc47 to your computer and use it in GitHub Desktop.
var request = require('request')
var z = request.get('aaa', function(e) {
console.log('error');
});
console.log('Half-broken object', z.uri)
error
Half-broken object { protocol: null,
slashes: null,
auth: null,
host: null,
port: null,
hostname: null,
hash: null,
search: null,
query: null,
pathname: 'aaa',
path: 'aaa',
href: 'aaa' }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment