http: make http.get() accept a URL
authorAdam Malcontenti-Wilson <adman.com@gmail.com>
Wed, 16 May 2012 14:27:34 +0000 (16:27 +0200)
committerBen Noordhuis <info@bnoordhuis.nl>
Wed, 16 May 2012 14:43:18 +0000 (16:43 +0200)
commit4099d1eebae4e78864a6879c0b9e08f31d48d8cb
tree9d0e753bb11fc92b654ac7f91c653e437ba35868
parent05b81f333c8563e5d714a06bf98fc9f963ba9f64
http: make http.get() accept a URL

http.get() now accepts either a URL (as a string) or an options object.
doc/api/http.markdown
lib/http.js
test/simple/test-http-client-get-url.js [new file with mode: 0644]