Browse Source

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>
process-exit-stdio-flushing
Jackson Tian 9 years ago
committed by Roman Reiss
parent
commit
c6ae7d00c6
  1. 4
      doc/api/http.markdown

4
doc/api/http.markdown

@ -941,8 +941,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

Loading…
Cancel
Save