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 <[email protected]>
Reviewed-By: Roman Reiss <[email protected]>
  • Loading branch information
JacksonTian authored and Myles Borins committed Mar 21, 2016
1 parent d7b81b5 commit b66d6b1
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 b66d6b1

Please sign in to comment.