Skip to content
This repository
tree: fc4f2ebb94
Fetching contributors…

Cannot retrieve contributors at this time

file 20 lines (15 sloc) 0.358 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
require = global.require
p = global.prettyPrint
print = global.print


throw = (err) {
  p(err)
  global.exit()
}

// Used to emit on errors when libuv badness happens
check = (status) {
  if (status) {
    throw(global.uv.lastError())
  }
}


url = "http://candor.io:8080/foo/bar/baz.zip?magic=yes#instant"
p("parsed", require('http_parser').parseUrl(url))
Something went wrong with that request. Please try again.