doc: documented default statusCode
PR-URL: https://github.com/nodejs/node/pull/28982 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
This commit is contained in:
parent
fd8d44f644
commit
71c28a4d2b
@ -1404,7 +1404,7 @@ const server = http.createServer((req, res) => {
|
||||
added: v0.4.0
|
||||
-->
|
||||
|
||||
* {number}
|
||||
* {number} **Default:** `200`
|
||||
|
||||
When using implicit headers (not calling [`response.writeHead()`][] explicitly),
|
||||
this property controls the status code that will be sent to the client when
|
||||
|
Loading…
x
Reference in New Issue
Block a user