Skip to content

Commit

Permalink
doc: improve httpVersionMajor / httpVersionMajor
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
JacksonTian authored and silverwind committed Feb 27, 2016
1 parent 1c30d60 commit c6ae7d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/http.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit c6ae7d0

Please sign in to comment.