aboutsummaryrefslogtreecommitdiff
path: root/tests/guile/cantius-test.scm
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2024-01-25 18:13:35 +0100
committerWojtek Kosior <koszko@koszko.org>2024-01-25 18:13:35 +0100
commit77211f70442efbb79a0421a033ea5aa312e01b5d (patch)
tree35531ed13b723178bf967d3be6e3f0c1ac282fab /tests/guile/cantius-test.scm
parent5e95240b6e40d3574b51b597051662a157c0b7d8 (diff)
downloadcantius-77211f70442efbb79a0421a033ea5aa312e01b5d.tar.gz
cantius-77211f70442efbb79a0421a033ea5aa312e01b5d.zip
Better use of srfi-35 conditions.
This commit defines `&not-found` and `&forbidden` condition types and allows special handlers to be registered to handle them during requests. All default handlers now ignore the value assigned to the `%default-headers` parameter and always use "text/plain; charset=utf-8" as content type. `cantius.scm` now imports SRFI-35 is using prefix, copyright years have been updated.
Diffstat (limited to 'tests/guile/cantius-test.scm')
0 files changed, 0 insertions, 0 deletions