mirror of https://github.com/nodejs/node.git
doc: fix grammar errors
parent
dec16aa5c2
commit
a57d31595d
|
@ -354,7 +354,7 @@ which has been transmitted are equal or not.
|
||||||
### response.statusCode
|
### response.statusCode
|
||||||
|
|
||||||
When using implicit headers (not calling `response.writeHead()` explicitly), this property
|
When using implicit headers (not calling `response.writeHead()` explicitly), this property
|
||||||
controls the status code that will be send to the client when the headers get
|
controls the status code that will be sent to the client when the headers get
|
||||||
flushed.
|
flushed.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
@ -452,7 +452,7 @@ emit trailers, with a list of the header fields in its value. E.g.,
|
||||||
### response.end([data], [encoding])
|
### response.end([data], [encoding])
|
||||||
|
|
||||||
This method signals to the server that all of the response headers and body
|
This method signals to the server that all of the response headers and body
|
||||||
has been sent; that server should consider this message complete.
|
have been sent; that server should consider this message complete.
|
||||||
The method, `response.end()`, MUST be called on each
|
The method, `response.end()`, MUST be called on each
|
||||||
response.
|
response.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue