From 87a718fe2ddc5be08899bb9060971286d3000a29 Mon Sep 17 00:00:00 2001 From: Jeremy Daly Date: Wed, 26 Dec 2018 11:53:18 -0500 Subject: [PATCH] documentation fix for sendStatus --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c84f997..5799275 100644 --- a/README.md +++ b/README.md @@ -440,7 +440,7 @@ res.sendStatus(304) // equivalent to res.status(304).send('Not Modified') res.sendStatus(403) // equivalent to res.status(403).send('Forbidden') ``` -**NOTE:** If an unsupported status code is send, it will return 'Unknown' as the body. +**NOTE:** If an unsupported status code is provided, it will return 'Unknown' as the body. ### header(key, value [,append]) The `header` method allows for you to set additional headers to return to the client. By default, just the `content-type` header is sent with `application/json` as the value. Headers can be added or overwritten by calling the `header()` method with two string arguments. The first is the name of the header and then second is the value. You can utilize multi-value headers by specifying an array with multiple values as the `value`, or you can use an optional third boolean parameter and append multiple headers.