mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
doc: fix grammar errors
This commit is contained in:
parent
dec16aa5c2
commit
a57d31595d
@ -354,7 +354,7 @@ which has been transmitted are equal or not.
|
||||
### response.statusCode
|
||||
|
||||
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.
|
||||
|
||||
Example:
|
||||
@ -452,7 +452,7 @@ emit trailers, with a list of the header fields in its value. E.g.,
|
||||
### response.end([data], [encoding])
|
||||
|
||||
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
|
||||
response.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user