Re: How to handle file upload with Liberator

60 views
Skip to first unread message

Philipp Meier

unread,
Dec 19, 2016, 6:17:02 PM12/19/16
to clojure-...@googlegroups.com

Am 19.12.2016 um 14:59 schrieb Devasia Joseph <devasi...@gmail.com>:

  :available-media-types ["tex/plain"]

That media-type looks wrong to me. Make sure that your client sends an „Accept“ header that allows one of your media types. If in doubt, enable the debug trace wrapper to see where exactly liberator boils out. You can find details about debugging liberator here: https://clojure-liberator.github.io/liberator/doc/debugging.html

-billy.
Reply all
Reply to author
Forward
0 new messages