summaryrefslogtreecommitdiff
path: root/doc/api/http.md
diff options
context:
space:
mode:
authorNatalie Fearnley <nfearnley@gmail.com>2019-08-05 13:03:42 -0400
committerRich Trott <rtrott@gmail.com>2019-08-07 19:48:45 -0700
commit71c28a4d2bf0137e4b56788124343c8c00dc11d7 (patch)
tree39f0f6ebb475cc69572dffbef659545c9fcc9a50 /doc/api/http.md
parentfd8d44f644798ed20bf950d1ff7982eba6cce0a7 (diff)
downloadandroid-node-v8-71c28a4d2bf0137e4b56788124343c8c00dc11d7.tar.gz
android-node-v8-71c28a4d2bf0137e4b56788124343c8c00dc11d7.tar.bz2
android-node-v8-71c28a4d2bf0137e4b56788124343c8c00dc11d7.zip
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>
Diffstat (limited to 'doc/api/http.md')
-rw-r--r--doc/api/http.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/http.md b/doc/api/http.md
index 62965fcea5..4923b6a61d 100644
--- a/doc/api/http.md
+++ b/doc/api/http.md
@@ -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