Ah, that’s great. Would love to see it integrated.
Having used it though, running into an issue with
\r\n being mangled in-between the multipart boundaries: https://github.com/cryptosense/multipart-form-data/issues/17
Right now, the individual body pieces are split on
\r\n, and each “line” is turned into a stream. I need to interpose streams of
\r\n before concatenating them. Is there an obvious way to do it?
Lwt_stream.concat doesn’t take the same argument as
String.concat for an in-between-elements separator.