Skip to content

Commit adc697a

Browse files
committed
add documentation for errorHeaderWhitelist
1 parent e9944fe commit adc697a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ Require the `lambda-api` module into your Lambda handler script and instantiate
128128
| 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` |
129129
| serializer | `Function` | Optional object serializer function. This function receives the `body` of a response and must return a string. Defaults to `JSON.stringify` |
130130
| version | `String` | Version number accessible via the `REQUEST` object |
131+
| errorHeaderWhitelist | `Array` | Array of headers to maintain on errors |
131132

132133

133134
```javascript

0 commit comments

Comments
 (0)