gnarroway

Results 15 comments of gnarroway

Thanks for raising this. The ugly error is a bit unfortunate. Happy to accept a PR on option 3.

Hi! Thanks for your interest. The request doesn’t sound unreasonable. Would you like to open a PR for it? I’ll leave this issue open for the time being in case...

For reference, as far as I can see apache hardcodes the various timeouts to 3min as default: https://github.com/apache/httpcomponents-client/blob/fa08f54077ee3c9566437a4aeb801facfa43c4d4/httpclient5/src/main/java/org/apache/hc/client5/http/config/RequestConfig.java#L45

After looking into it, this is happening in the default exception-handler due`::coercion/request-coercion` (https://github.com/metosin/reitit/blob/1dbca520023743b470da89efe4ebed83802cb551/modules/reitit-interceptors/src/reitit/http/interceptors/exception.clj#L82) Specifically, the map returned from `coercion/encode-error` contains `:exception` which cannot be serialised to JSON. All the other...

Hi, thanks for your interest. I don't mind a PR for this. Please include a test and readme. For completeness just noting some options: - You can also adjust it...