Skip to content

Commit

Permalink
add documentation for errorHeaderWhitelist
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremydaly committed Oct 29, 2019
1 parent e9944fe commit adc697a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit adc697a

Please sign in to comment.