Skip to content

Commit

Permalink
doc: documented default statusCode
Browse files Browse the repository at this point in the history
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 19, 2019
1 parent 5008b46 commit 7b7b8f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7b7b8f2

Please sign in to comment.