Fork me on GitHub
#yada
<
2017-02-08
>
mikepjb10:02:08

are there any examples online where yada is used in conjunction with nginx?

stijn12:02:15

@malcolmsparks, I have a question on generating a body on error with application/json

stijn12:02:25

(defmethod render-error "application/json"
  [status error representation {:keys [id options]}]
  {:status status
   :message (get-error-message status)
   :id id
   :error error})

stijn12:02:47

it appears that this is never called when I set the accept header to application/json

stijn12:02:09

if it's set to application/edn, it calls the appropriate render-error

stijn12:02:25

yada 1.2.0

stijn12:02:15

yada generates an empty body in case of application/json