Skip to content

Commit b66d6b1

Browse files
JacksonTianMyles Borins
authored andcommitted
doc: improve httpVersionMajor / httpVersionMajor
The description of httpVersionMajor & httpVersionMinor should have same context like httpVersion. PR-URL: #5296 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io>
1 parent d7b81b5 commit b66d6b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/http.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -891,8 +891,8 @@ In case of server request, the HTTP version sent by the client. In the case of
891891
client response, the HTTP version of the connected-to server.
892892
Probably either `'1.1'` or `'1.0'`.
893893

894-
Also `response.httpVersionMajor` is the first integer and
895-
`response.httpVersionMinor` is the second.
894+
Also `message.httpVersionMajor` is the first integer and
895+
`message.httpVersionMinor` is the second.
896896

897897
### message.method
898898

0 commit comments

Comments
 (0)