Skip to content

Commit 9a1c8ba

Browse files
JacksonTianMyles Borins
authored and
Myles Borins
committed
doc: improve httpVersionMajor / httpVersionMajor
The description of httpVersionMajor & httpVersionMinor should have same context like httpVersion. PR-URL: #5296 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Roman Reiss <[email protected]>
1 parent 2b7a88c commit 9a1c8ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/http.markdown

+2-2
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)