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:
Jackson Tian authored and Rod Vagg committed 2016-02-28 12:41:49 +11:00
1 parent 534e88f56c
commit 8ec3d904cb
1 file changed
+2 -2
+2 -2
View File
@@ -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