I have a file input setup like this
[:p "Upload a book"]
      (form-to [:post "/upload"]
               (file-upload :book)
               (submit-button "Upload"))
My upload endpoint then looks like this.
(defpage [:post "/upload"] {:keys [book]} (println book))
book just seems to be a string of the title of the file that was uploaded and not the file itself. How do I get the file?