updates to the docs
This commit is contained in:
parent
cb3c5ded0f
commit
5db02ffaa9
8 changed files with 22 additions and 22 deletions
|
@ -43,15 +43,15 @@ An `IncomingMessage` instance has the following readable properties:
|
|||
|
||||
#### `response.statusCode`
|
||||
|
||||
An Integer indicating the HTTP response status code.
|
||||
An `Integer` indicating the HTTP response status code.
|
||||
|
||||
#### `response.statusMessage`
|
||||
|
||||
A String representing the HTTP status message.
|
||||
A `String` representing the HTTP status message.
|
||||
|
||||
#### `response.headers`
|
||||
|
||||
An Object representing the response HTTP headers. The `headers` object is
|
||||
An `Object` representing the response HTTP headers. The `headers` object is
|
||||
formatted as follows:
|
||||
|
||||
* All header names are lowercased.
|
||||
|
@ -60,15 +60,15 @@ formatted as follows:
|
|||
|
||||
#### `response.httpVersion`
|
||||
|
||||
A String indicating the HTTP protocol version number. Typical values are '1.0'
|
||||
A `String` indicating the HTTP protocol version number. Typical values are '1.0'
|
||||
or '1.1'. Additionally `httpVersionMajor` and `httpVersionMinor` are two
|
||||
Integer-valued readable properties that return respectively the HTTP major and
|
||||
minor version numbers.
|
||||
|
||||
#### `response.httpVersionMajor`
|
||||
|
||||
An Integer indicating the HTTP protocol major version number.
|
||||
An `Integer` indicating the HTTP protocol major version number.
|
||||
|
||||
#### `response.httpVersionMinor`
|
||||
|
||||
An Integer indicating the HTTP protocol minor version number.
|
||||
An `Integer` indicating the HTTP protocol minor version number.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue