servant-snap icon indicating copy to clipboard operation
servant-snap copied to clipboard

Snap port of servant-server (WIP)

Results 8 servant-snap issues
Sort by recently updated
recently updated
newest added

A GET request with request body results in a 400/bad request, while * HTTP in principle allows request bodies for GET requests * ... but according to the lastest HTTP...

It's only there to help with local development.

In `servant-server`, it is impossible for a user-defined handler to inspect the request and to mess with the response. Since `servant-snap` uses any `MonadSnap m => m a` as the...

Hi, I am new to both snap and servant. Would be possible to request a sample code for authenticated api access (possibly with oauth2)? Thank you for your help.

Snap request bodies are `InputStream ByteString` (or similar) io-streams, and can't be consumed more than once (same issue as for the warp servant server: https://github.com/haskell-servant/servant/issues/3). This can be fixed by,...

enhancement

Need a Heist route combinator, but will using it disturb the rest of the servant ecosystem when trying to build clients and docs for an API using it?

enhancement

The Servant 0.19 comes [with support](https://www.tweag.io/blog/2022-02-24-named-routes/) for `NamedRoutes`. Could we add support for `NamedRoutes` in `servant-snap` before we [release 0.9.1 to Hackage](https://github.com/haskell-servant/servant-snap/issues/34)? I'm happy to help out on this one.

I love the project! Can we release the recent changes (including bumping the servant version) to Hackatge? The latest version on Hackage is 0.9.0. If I can be of any...