Skip to content
Permalink
Browse files

doc: documented default statusCode

PR-URL: #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>
  • Loading branch information...
nfearnley authored and targos committed Aug 5, 2019
1 parent 5008b46 commit 7b7b8f21cb0b14f0dd3f7d7d7cf6e12ba19ae116
Showing with 1 addition and 1 deletion.
  1. +1 −1 doc/api/http.md
@@ -1402,7 +1402,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

0 comments on commit 7b7b8f2

Please sign in to comment.
You can’t perform that action at this time.