aboutsummaryrefslogtreecommitdiff
path: root/readme.md
diff options
context:
space:
mode:
Diffstat (limited to 'readme.md')
-rw-r--r--readme.md7
1 files changed, 5 insertions, 2 deletions
diff --git a/readme.md b/readme.md
index f241d66..507ca34 100644
--- a/readme.md
+++ b/readme.md
@@ -199,8 +199,11 @@ themselves; in that case the request is passed on.
- **module `headers`**
- Appends multiple headers to the response.
- - `headers`: A map of all header name-value pairs. (object string:string)
- - `inner`: The handler to add the headers to. (module)
+ - `request`: A map of all header name-value pairs added before the request is
+ passed to `next`. (object string:string)
+ - `response`: A map headers added to responsed from `next`. (object
+ string:string)
+ - `next`: The handler to add the headers to. (module)
- **module `redirect`**
- Responds with a permanent redirect.