raxx v0.10.2 Raxx.Parsers.Multipart
This is all defined in the multipart/form-data rfc7578
- Add an
encode/1
function that can be used to create a body, mainly for testing purposes but also can be exposed as part of a 7578 hex package. - Consider separate parsing of data to named list [{"field-name[]", "data"}] and grouping to a map via “field-name[]“
- this is an interesting library that might want to be emulated for nested queries. https://github.com/spiceworks/httpoison-form-data/blob/master/lib/form_data.ex
plug adapter test for failed decodings
- Have uploads look as much like a file as possible http://ruby-doc.org/stdlib-1.9.3/libdoc/tempfile/rdoc/Tempfile.html#method-i-path
- Read about erlang io protocol to this end
- Comparison listing the concerns of an image uploader https://infinum.co/the-capsized-eight/best-rails-image-uploader-paperclip-carrierwave-refile