You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -128,6 +128,7 @@ Require the `lambda-api` module into your Lambda handler script and instantiate
128
128
| 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`|
129
129
| serializer |`Function`| Optional object serializer function. This function receives the `body` of a response and must return a string. Defaults to `JSON.stringify`|
130
130
| version |`String`| Version number accessible via the `REQUEST` object |
131
+
| errorHeaderWhitelist |`Array`| Array of headers to maintain on errors |
0 commit comments