query-param-accept
to help with browser issuesbody-params
interceptor looked for matching
parsers in the parser-map
.pedestal-toolbox.param/body-params
can't pass it into their routes, you must call the fn.turbovote.pedestal-toolbox
to democracyworks/pedestal-toolbox
.turbovote.pedestal-toolbox.content-negotiation/negotiate-content-type
is now negotiate-response-content-type
to make its purpose clearerturbovote.pedestal-toolbox.params/body-params
is now an interceptorfn instead of an interceptor; you don't have to change existing route tables, though, because they know how to handle interceptorfns.turbovote.pedestal-toolbox.params/body-params
interceptorfn has a single-arity version that accepts a parser-map of MIME type regexes to parser fns.
{ #"^application/json" io.pedestal.http.body-params/json-parser }
io.pedestal.http.body-params
can parse.Can you improve this documentation? These fine people already did:
Daniel Glauser, Wes Morgan, Chris Shea, Gordon Stratton & Egg SyntaxEdit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close