/pedestal.clj Secret
Created
September 23, 2018 18:30
pedestal default interceptors
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; I have a print in coerce-body's :leave function. | |
;; Nothing prints. | |
(::http/servlet | |
(-> {::http/routes routes | |
::http/join? true | |
::http/router :linear-search} | |
(http/default-interceptors) | |
(update ::http/interceptors conj mw/cookies) | |
(update ::http/interceptors conj intc/content-negotiate) | |
(update ::http/interceptors conj intc/coerce-body) | |
(http/create-servlet))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment