Maciej Szajna
Maciej Szajna
With Ring 3-arity contract, exceptions thrown in the same thread bubble back to the middleware. However, if any non-blocking IO was to happen between `wrap-authorization` and `throw-unauthorized`, those exceptions would...
The proposal is to extend Ring's 1-arity handler contract to allow returning of a `java.util.concurrent.CompletionStage`-wrapped response map, as an alternative to just returning a response map. ```clojure (defn a-handler [request]...
The contract of Ring async handlers is to eventually either call respond or raise. The Concepts page doesn't go into that much detail but I infer there is no semantics...