Does anyone here know of an Elixir library which would help me assemble bodies of HTTP requests with “multipart/form-data” Content-type?
This would be the reverse of https://github.com/elixir-plug/plug/blob/v1.8.2/lib/plug/parsers/multipart.ex#L39 i.e. parsing “multipart/form-data” requests by Plug.
Ideally I could either assemble it and get it as String, or in streaming form (for large file uploads).
Hackney does that and I can try translating that to Elixir, but would be ideal if I didn’t have to for obvious reasons :D.
Does anyone know of a piece of Elixir code that does that, even if it’s part of bigger library?