From adc697a2ca7d3830baadea3147606567853957ad Mon Sep 17 00:00:00 2001 From: Jeremy Daly Date: Tue, 29 Oct 2019 08:18:49 -0400 Subject: [PATCH] add documentation for errorHeaderWhitelist --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 8ed800c..88fa990 100644 --- a/README.md +++ b/README.md @@ -128,6 +128,7 @@ Require the `lambda-api` module into your Lambda handler script and instantiate | mimeTypes | `Object` | Name/value pairs of additional MIME types to be supported by the `type()`. The key should be the file extension (without the `.`) and the value should be the expected MIME type, e.g. `application/json` | | serializer | `Function` | Optional object serializer function. This function receives the `body` of a response and must return a string. Defaults to `JSON.stringify` | | version | `String` | Version number accessible via the `REQUEST` object | +| errorHeaderWhitelist | `Array` | Array of headers to maintain on errors | ```javascript