okapi
okapi copied to clipboard
A data-driven micro web framework for Haskell
Should look something like: ```haskell -- type MonadServer m = (MonadRequest m, MonadResponse m) class (MonadRequest m, MonadResponse m) => MonadServer m where throw :: ... next :: ... class...
Now that we have sessions, it should be possible to add CSRF protection. Maybe introduce constraint `HasCSRFProtection m`.
I can do this two ways: 1. Introduce IO into the `MonadOkapi` stack and parse multipart form data inside a Okapi parser 2. Parse the multipart form data from the...
# Defaults - method should be `GET` - no headers - no body Also need to provide functions for adding to a `Request`