Skip to content

Commit 600eb8b

Browse files
TrottMylesBorins
authored andcommitted
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: #31326 Refs: #31073 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
1 parent 47f71de commit 600eb8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/http2.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2783,7 +2783,7 @@ console.log(request.headers);
27832783

27842784
See [HTTP/2 Headers Object][].
27852785

2786-
In HTTP/2, the request path, hostname, protocol, and method are represented as
2786+
In HTTP/2, the request path, host name, protocol, and method are represented as
27872787
special headers prefixed with the `:` character (e.g. `':path'`). These special
27882788
headers will be included in the `request.headers` object. Care must be taken not
27892789
to inadvertently modify these special headers or errors may occur. For instance,

0 commit comments

Comments
 (0)