z_multipart_encode (zotonic_core v1.0.0-rc.14)

Encode a list of fields and/or files as multipart/form-data

Link to this section Summary

Link to this section Functions

-spec encode(Parts) -> {Body, ContentType}
          when Parts :: [map()], Body :: binary(), ContentType :: binary().