summaryrefslogtreecommitdiff
path: root/src/guile
AgeCommit message (Expand)Author
12 daysUpdate copyright years.W. Kosior
12 daysAvoid `with-parameters*' which creates a continuation barrier.W. Kosior
2024-07-28Only display backtrace when a `CANTIUS_DEBUG' env var is set.•••This is to avoid leaking sensitive information through backtraces and exception messages. W. Kosior
2024-07-28Use a redirect type that doesn't change method.W. Kosior
2024-07-23Add `parse-cookies' procedure.W. Kosior
2024-07-23Add `parse-multipart/form-data' procedure.W. Kosior
2024-07-18Improve the mechanism of conditions tied to HTTP error codes.•••Tere's now an extra `&condition-with-http-code' type that can be raised to trigger an appropriate HTTP response. This is meant to be used for all HTTP codes other than those few that have their own condition types. W. Kosior
2024-07-18Order imports alphabetically.W. Kosior
2024-01-26Rename `normalized-path-string` nested function.•••This is to decrease the chance of confusion with new, unrelated `normalize-path`. Wojtek Kosior
2024-01-26Normalize resource path in `find-resource-file`.•••`..` and `.` are now legal as long as long as the path does not reference the resource root directory's parent. Wojtek Kosior
2024-01-26Add `normalize-path` function.Wojtek Kosior
2024-01-25Better 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. Wojtek Kosior
2024-01-25Forbid `.` and `..` in loaded resource file paths.Wojtek Kosior
2023-12-19Allow handlers to only return response body.Wojtek Kosior
2023-12-19Adjust backtrace frame range.Wojtek Kosior
2023-12-16Facilitate using parameters for endpoint-specific behavior.Wojtek Kosior
2023-12-16Initial commit.Wojtek Kosior