aboutsummaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
5 daysBump version date.HEADv2025.2.17magisterW. Kosior
8 daysUse format's tilde+newline sequence to break long strings.•••Some might argue it is better to just keep long strings in the source code, for readability. But this is not that readable when, e.g., editing the code in a narrow Emacs window. W. Kosior
8 daysUpdate copyright years.W. Kosior
8 daysAdd `parse-request-multipart/form-data'.•••This commit also adds the star variant of this procedure (returning alist) and an analogous star variant of `parse-multipart/form-data'. Tests are included. W. Kosior
11 daysStart date-versioning Cantius.v2025.2.11W. Kosior
11 daysUpdate copyright years.W. Kosior
11 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-23Write tests for `parse-cookies' procedure.W. Kosior
2024-07-23Add `parse-cookies' procedure.W. Kosior
2024-07-23Test `parse-multipart/form-data' 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-25Add tests for `find-resource-file` and exceptions it raises.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
2024-01-20Fix syntax error in .dir-locals.el.Wojtek Kosior
2023-12-19Test the values of %current-path and %current-path-string.Wojtek Kosior
2023-12-19Allow handlers to only return response body.Wojtek Kosior
2023-12-19Adjust backtrace frame range.Wojtek Kosior
2023-12-19Fix mismatched parenthesis in .dir-locals.el.Wojtek Kosior
2023-12-16Facilitate using parameters for endpoint-specific behavior.Wojtek Kosior
2023-12-16Make GUILE_TEST_DRIVER precious with AC_ARG_VAR().Wojtek Kosior
2023-12-16Initial commit.Wojtek Kosior