mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
doc: improve httpVersionMajor / httpVersionMajor
The description of httpVersionMajor & httpVersionMinor should have same context like httpVersion. PR-URL: https://github.com/nodejs/node/pull/5296 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io>
This commit is contained in:
1 parent
534e88f56c
commit
8ec3d904cb
1 file changed
+2
-2
@@ -919,8 +919,8 @@ In case of server request, the HTTP version sent by the client. In the case of
|
||||
client response, the HTTP version of the connected-to server.
|
||||
Probably either `'1.1'` or `'1.0'`.
|
||||
|
||||
Also `response.httpVersionMajor` is the first integer and
|
||||
`response.httpVersionMinor` is the second.
|
||||
Also `message.httpVersionMajor` is the first integer and
|
||||
`message.httpVersionMinor` is the second.
|
||||
|
||||
### message.method
|
||||
|
||||
|
||||
Reference in new issue
Block a user