diff options
Diffstat (limited to 'readme.md')
-rw-r--r-- | readme.md | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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. |