A single body contains tag first, tag second, and a binary file, separated by boundary lines. A double final line precedes an epilogue. Framing is separate from validation.

A multipart boundary splits the body into parts

Multipart/form-data is one HTTP representation containing several independently described parts. A client chooses a boundary parameter, places that value in the Content-Type header, and writes matching delimiter lines into the body. The arrangement lets one request carry text fields and binary files without pretending that all bytes share one JSON or text grammar. The boundary is framing metadata, not a security decision or a file-type detector. ...

November 10, 2027 · 8 min · XB Field Notes