From cbd56d3e4221daa42128cd590db6058a01ef1eea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Fri, 12 Jun 2015 11:00:20 +0300 Subject: [PATCH] doc: Document http.request protocol option Reviewed-By: James M Snell PR-URL: https://github.com/joyent/node/pull/25591 --- doc/api/http.markdown | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/api/http.markdown b/doc/api/http.markdown index bfdeb86406aa..7807099dec07 100644 --- a/doc/api/http.markdown +++ b/doc/api/http.markdown @@ -457,6 +457,7 @@ automatically parsed with [url.parse()][]. Options: +- `protocol`: Protocol to use. Defaults to `'http:'`. - `host`: A domain name or IP address of the server to issue the request to. Defaults to `'localhost'`. - `hostname`: To support `url.parse()` `hostname` is preferred over `host`