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 rvagg committed Feb 28, 2016
1 parent 534e88f commit 8ec3d90
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 @@ -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

Expand Down

0 comments on commit 8ec3d90

Please sign in to comment.