-
`wai-middleware-auth` is specialised to `Wai.Response` in how it throws errors and attempts redirects.
Moreover, it's quite hard to get out the `loginUrl` (unless you go via the `handleLogin` path,…
silky updated
2 months ago
-
Not sure if this should be an issue, just close if not appropriate!
I'd been wanting to use wai-app-static in a Scotty app (or any wai app really) but found it hard to compose with other applicatio…
-
-
```
wai-middleware-auth > /tmp/stack-8aad968b153b4009/wai-middleware-auth-0.2.6.0/src/Network/Wai/Auth/Config.hs:29:15: error:
wai-middleware-auth > Ambiguous occurrenc…
-
See also https://matrix.hackage.haskell.org/package/wai-middleware-json-errors
This is most likely caused due to missing or inaccurate version bounds:
```
Configuring component lib from wai-mid…
-
```
import Network.Wai.Handler.Warp
import Network.Wai.Middleware.RequestLogger
main :: IO ()
main = run 3000 $ logStdoutDev $ appLogsOk
appLogsOk _ respond = respond (throw $ …
-
We have a WAI application in production that serves only around `5 reqs/s` and we had serious performance issues as the server was GC'ing 95% of the time.
## Before
You can see that we're spendin…
-
> I suggest validating the header inside `changeHeader` and throw 500 (via ScottyException) if it contains CR/LF/NUL. For the sake of compatibility or performance optimisation, we could make this beha…
-
Currently `index.html` files can be served by `ssIndices`, but it'd be useful if you could serve HTML files without an extension, e.g. `posts/mypost.html` -> `posts/mypost`
## Alternatives
`wai-…
rniii updated
2 months ago
-
An umbrella issue for tracking of [OpenTelemetry](https://opentelemetry.io/) integration to PostgREST.
- [x] Get familiar with OTel and terminology
- [ ] Wrap meaningful and measurable actions…