Skip to content

Instantly share code, notes, and snippets.

Created Sep 23, 2018
What would you like to do?
pedestal default interceptors
;; I have a print in coerce-body's :leave function.
;; Nothing prints.
(-> {::http/routes routes
::http/join? true
::http/router :linear-search}
(update ::http/interceptors conj mw/cookies)
(update ::http/interceptors conj intc/content-negotiate)
(update ::http/interceptors conj intc/coerce-body)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment