Hi everyone! I’m trying to handle the upload of files (several files at the same time) using Mux.
I would like to be able to loop over the input parts and for each of them :
- get the name of the file
- get the content of the file
With Mux, in req[:data] there’s a Vector{UInt8}. That’s pretty much where I am now .
In this post @rssdev10 gives a function that can extract the content of a file from a Vector{UInt8}.
It works from a Vector{UInt8} previously serialized (using serialize()
) but doesn’t work (oddly enough) on applied to req[:data] in the route()
function, which is the normal scenario. It also doesn’t extract the filename.
Has anyone succeeded in handling multipart/form-data with Mux or HTTP?