Skip to content

Commit 8ec3d90

Browse files
JacksonTianrvagg
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 <[email protected]> Reviewed-By: Roman Reiss <[email protected]>
1 parent 534e88f commit 8ec3d90

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
@@ -919,8 +919,8 @@ In case of server request, the HTTP version sent by the client. In the case of
919919
client response, the HTTP version of the connected-to server.
920920
Probably either `'1.1'` or `'1.0'`.
921921

922-
Also `response.httpVersionMajor` is the first integer and
923-
`response.httpVersionMinor` is the second.
922+
Also `message.httpVersionMajor` is the first integer and
923+
`message.httpVersionMinor` is the second.
924924

925925
### message.method
926926

0 commit comments

Comments
 (0)