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 Myles Borins committed Mar 17, 2016
1 parent 2b7a88c commit 9a1c8ba
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 @@ -891,8 +891,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 9a1c8ba

Please sign in to comment.