yada
yada copied to clipboard
A powerful Clojure web library, full HTTP, full async - see https://juxt.pro/yada/index.html
…s or :ctx from cause previous: `(:ctx data)` was used to get `ctx`, or `ctx` started from scratch on error for error-interceptors-chain however, if a resource has `(throw (ex-info "..."...
The culprit: https://github.com/juxt/yada/blob/cc6cb7ff0d00775e2fb066a0c87e86a1c4d2aa66/src/yada/interceptors.clj#L391-L393 Why it's incorrect: https://datatracker.ietf.org/doc/html/rfc7230#section-3.3.2 > A server MAY send a Content-Length header field in a 304 (Not Modified) response to a conditional GET request (Section 4.1 of...
`max-age` takes precedence over `expires` and then `yada.cookies/unset-cookie` doesn't work. Maybe `max-age` set to `0` should be used instead? I would be happy to provide a patch if there is...
Hi, and thanks for a fine library. Our yada server had been running fine for a few years. Recently however it has started experiencing OOM (out of memory) errors. It...
Currently we're creating deferred errors which are never consumed (these log exceptions when the next GC cycle runs), instead we can simply throw exceptions to be caught be the outer...
For public facing websites it's not uncommon to have exploitation suites run random strings as methods in small batches of requests. This commit channels 501s away from errors logs into...
The Yada docs don't discuss `:consumer`. This is an invaluable feature when you need to get the raw body of the request. One use-case for this is when you want...
clj-time is excluded from ring-swagger, and ring-core no longer depends on clj-time, so you don't get clj-time on the classpath at all, resulting in an exception. Repro: ``` ❯ clojure...
https://github.com/dakrone/cheshire/pull/100 has made a backwards incompatible change that requires the `:pretty` option for `json/encode` to be either a boolean, a map, or an instance of `PrettyPrinter`. But `yada.media-type/string->media-type` does not...
I've noticed that HEAD requests seem to be throwing unconsumed deferred errors. 16:41:24.770 WARN manifold.deferred - unconsumed deferred in error state, make sure you're using `catch`. java.lang.Thread.run Thread.java: 745 java.util.concurrent.ThreadPoolExecutor$Worker.run...