https: make https.get() accept a URL
authorkoichik <koichik@improvement.jp>
Sat, 18 Aug 2012 05:18:02 +0000 (14:18 +0900)
committerBen Noordhuis <info@bnoordhuis.nl>
Fri, 24 Aug 2012 14:56:06 +0000 (16:56 +0200)
commit752ac320ae48d266fdc5d61a3963857b8f343c10
treed8121ef8ff5705d6c7e909570a8c74d2f7de6d80
parent59011448c0c47a1ad374f5b184d2627fc68c06bd
https: make https.get() accept a URL

https.get() now accepts either a URL (as a string) or an options object.

Refs #2859.
Fixes #3882.
doc/api/https.markdown
lib/https.js
test/simple/test-https-client-get-url.js [new file with mode: 0644]