doc: fix improper http.get sample code
authorHideki Yamamura <hideki.yamamura@gmail.com>
Sun, 13 Dec 2015 04:25:44 +0000 (13:25 +0900)
committerMyles Borins <mborins@us.ibm.com>
Tue, 19 Jan 2016 19:52:24 +0000 (11:52 -0800)
commit7983577e41943d6824147c3ae0c5230e6f3d29ed
tree6b348ffc92f1003e6a1e8d2a23f399d995af6e4c
parent5ba08fbf76cd4374e7ce474541a7f3ed9560ccb2
doc: fix improper http.get sample code

Refs: https://github.com/nodejs/node-v0.x-archive/pull/25471
Refs: https://github.com/nodejs/node-v0.x-archive/issues/8443
PR-URL: https://github.com/nodejs/node/pull/4263
Reviewed-By: Rod Vagg <rod@vagg.org>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
doc/api/http.markdown