Skip to content
This repository was archived by the owner on Dec 10, 2021. It is now read-only.

Commit d505b0a

Browse files
committed
Add requestHeaders, fixes #11
1 parent 1a780b1 commit d505b0a

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,9 +276,9 @@ responseModels:
276276
application/xml: "CreateResponseXML"
277277
```
278278

279-
##### `responseHeaders`
279+
##### `responseHeaders` and `requestHeaders`
280280

281-
The `responseHeaders` section of the configuration allows you to define the HTTP response headers for the function event.
281+
The `responseHeaders/requestHeaders` section of the configuration allows you to define the HTTP response headers for the function event.
282282

283283
The attributes for a response header are as follow:
284284

@@ -292,6 +292,11 @@ responseHeaders:
292292
description: "Content Type header"
293293
schema:
294294
type: "string"
295+
requestHeaders:
296+
- name: "Content-Type"
297+
description: "Content Type header"
298+
schema:
299+
type: "string"
295300
```
296301

297302
## Example configuration

0 commit comments

Comments
 (0)