Skip to content

Commit c6ae7d0

Browse files
JacksonTiansilverwind
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 1c30d60 commit c6ae7d0

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

944-
Also `response.httpVersionMajor` is the first integer and
945-
`response.httpVersionMinor` is the second.
944+
Also `message.httpVersionMajor` is the first integer and
945+
`message.httpVersionMinor` is the second.
946946

947947
### message.method
948948

0 commit comments

Comments
 (0)