From 600eb8b67c8c759faf21932ad9670c13e7ee39f8 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Sun, 12 Jan 2020 07:26:55 -0800 Subject: [PATCH] doc: standardize on "host name" in http2.md Our docs have a mix of "hostname" and "host name" in prose. Let's follow the usage of Unix man pages, RFCs, and most professionally-edited sources, and use "host name" in prose and "hostname" to refer to the command and in code. Lint rule forthcoming. PR-URL: https://github.com/nodejs/node/pull/31326 Refs: https://github.com/nodejs/node/pull/31073 Reviewed-By: Luigi Pinca Reviewed-By: Richard Lau Reviewed-By: James M Snell Reviewed-By: Trivikram Kamat --- doc/api/http2.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/http2.md b/doc/api/http2.md index 42b0693bda2b25..888dab6ea885f4 100644 --- a/doc/api/http2.md +++ b/doc/api/http2.md @@ -2783,7 +2783,7 @@ console.log(request.headers); See [HTTP/2 Headers Object][]. -In HTTP/2, the request path, hostname, protocol, and method are represented as +In HTTP/2, the request path, host name, protocol, and method are represented as special headers prefixed with the `:` character (e.g. `':path'`). These special headers will be included in the `request.headers` object. Care must be taken not to inadvertently modify these special headers or errors may occur. For instance,