You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As in Servant, we need some delayed IO for work that shouldn't be done until a certain route has been selected. We do not want to read the request body, just because we traverse a ReqBody in the routing type, if the embedded handler does not match the request (and possibly cause 4xx errors and whatnot!). Instead, these things should build up and only be run when necessary.