I
updated static-web-archive and
get-htm-l-fragment to support multiple media file per post, a really basic feature I didn't think I needed for about six years.
While I was doing it, I thought, "Why didn't I just make it support multiple files in the first place? It's not that hard." While
updating the client that actually takes http requests and sends them to static-web-archive, I realized it was likely because of the
limitations of FormData. FormData isn't nested. If you want to send nested data like an array of objects, you have to convert it into a string, then convert it back. If you try to do that with binary data, you blow up the size 133% by converting it to base64.
So, I settled for this terrible thing where the server app looks for `buffer0`, `buffer1`, etc. from the form, then packs them into an array before sending them to static-web-archive.