Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-07-18 | Improve the mechanism of conditions tied to HTTP error codes. | W. Kosior | |
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. | |||
2024-07-18 | Order imports alphabetically. | W. Kosior | |
2024-01-26 | Rename `normalized-path-string` nested function. | Wojtek Kosior | |
This is to decrease the chance of confusion with new, unrelated `normalize-path`. | |||
2024-01-26 | Normalize resource path in `find-resource-file`. | Wojtek Kosior | |
`..` and `.` are now legal as long as long as the path does not reference the resource root directory's parent. | |||
2024-01-26 | Add `normalize-path` function. | Wojtek Kosior | |
2024-01-25 | Add tests for `find-resource-file` and exceptions it raises. | Wojtek Kosior | |
2024-01-25 | Better use of srfi-35 conditions. | Wojtek Kosior | |
This commit defines `¬-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. | |||
2024-01-25 | Forbid `.` and `..` in loaded resource file paths. | Wojtek Kosior | |
2024-01-20 | Fix syntax error in .dir-locals.el. | Wojtek Kosior | |
2023-12-19 | Test the values of %current-path and %current-path-string. | Wojtek Kosior | |
2023-12-19 | Allow handlers to only return response body. | Wojtek Kosior | |
2023-12-19 | Adjust backtrace frame range. | Wojtek Kosior | |
2023-12-19 | Fix mismatched parenthesis in .dir-locals.el. | Wojtek Kosior | |
2023-12-16 | Facilitate using parameters for endpoint-specific behavior. | Wojtek Kosior | |
2023-12-16 | Make GUILE_TEST_DRIVER precious with AC_ARG_VAR(). | Wojtek Kosior | |
2023-12-16 | Initial commit. | Wojtek Kosior | |