doc: clarify protocol default in http.request()
authorcjihrig <cjihrig@gmail.com>
Fri, 15 Jan 2016 16:45:49 +0000 (11:45 -0500)
committerMyles Borins <mborins@us.ibm.com>
Tue, 19 Jan 2016 19:52:42 +0000 (11:52 -0800)
commit8c2b65ad82f8ac389b8ce9f7c0fb20febd219fd8
tree6eaa0bae2bed50ecd55a7d95eccf149f6ca75b0a
parent46d8c93ed2350fc1742b5b0ecd1f223598778c15
doc: clarify protocol default in http.request()

The previously listed default of 'http' is incorrect, and
causes an error to be thrown. This commit changes it to the
correct value of 'http:'

Fixes: https://github.com/nodejs/node/issues/4712
PR-URL: https://github.com/nodejs/node/pull/4714
Reviewed-By: James M Snell <jasnell@gmail.com>
doc/api/http.markdown