aboutsummaryrefslogtreecommitdiff
path: root/readme.md
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-02-05 12:45:56 +0100
committermetamuffin <metamuffin@disroot.org>2025-02-05 12:45:56 +0100
commit27a503c1a92c8f8b0e398187d58e677ecf68e915 (patch)
tree505393926d7208dd3e5c9acd923f140b6a60259a /readme.md
parent65ceb5683340726ff2ee831181dd9d60da2456b3 (diff)
downloadgnix-27a503c1a92c8f8b0e398187d58e677ecf68e915.tar
gnix-27a503c1a92c8f8b0e398187d58e677ecf68e915.tar.bz2
gnix-27a503c1a92c8f8b0e398187d58e677ecf68e915.tar.zst
fallback handler
Diffstat (limited to 'readme.md')
-rw-r--r--readme.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/readme.md b/readme.md
index e558ace..cd5e5d8 100644
--- a/readme.md
+++ b/readme.md
@@ -219,6 +219,15 @@ themselves; in that case the request is passed on.
this.**
- Takes a set of handlers. (sequence of module)
+- **module `fallback`**
+ - Runs a series of handlers until one returns a success, informational or
+ redirect response and the returns that. The last handler's response will
+ unconditionally be returned. Note that to run multiple handlers the request
+ body will first be completely received to memory before any handler is run.
+ There is currently no size limit for request bodies, so be careful using
+ this. **TODO request size limit**
+ - Takes a sequence of handlers.
+
- **module `debug`**
- Replies with information about the request to debug. Includes source
address, HTTP version, URI and headers.