Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Clack uploading sample
(import 'clack.request:make-request 'clack.request:body-parameter)
#'(lambda (env)
(format t "~S~%"
(body-parameter (make-request env)))
(:content-type "text/html")
("<form method='POST' enctype='multipart/form-data'><input type='file' name='pdf'><input type='submit'></form>"))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.