From b72329e23d19957b0278603e2b66905e8d62841e 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/25592 --- doc/api/http.markdown | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/api/http.markdown b/doc/api/http.markdown index bfdeb86406a..7807099dec0 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`