Skip to content

Commit 7b7b8f2

Browse files
nfearnleytargos
authored andcommitted
doc: documented default statusCode
PR-URL: #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]>
1 parent 5008b46 commit 7b7b8f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/http.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1402,7 +1402,7 @@ const server = http.createServer((req, res) => {
14021402
added: v0.4.0
14031403
-->
14041404

1405-
* {number}
1405+
* {number} **Default:** `200`
14061406

14071407
When using implicit headers (not calling [`response.writeHead()`][] explicitly),
14081408
this property controls the status code that will be sent to the client when

0 commit comments

Comments
 (0)