Skip to content

Commit

Permalink
doc: documented default statusCode
Browse files Browse the repository at this point in the history
PR-URL: nodejs#28982
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
  • Loading branch information
nfearnley authored and Trott committed Aug 8, 2019
1 parent fd8d44f commit 71c28a4
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 @@ -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
Expand Down

0 comments on commit 71c28a4

Please sign in to comment.