Open the developer tools on any file upload and you will meet a line like ------WebKitFormBoundary7MA4YWxkTrZu0gW. It looks like noise. It is the seam of the most exercised and least examined format on the web: multipart/form-data, the encoding that has carried every avatar, expense receipt, passport scan, CSV import and drag-and-drop upload in browser history.
Its honest specification did not arrive until July 2015, when the IETF published RFC 7578. The document is not a blueprint. It is a receipt — and its first act is to admit where the goods came from.
The short version
- RFC 7578, July 2015, defines multipart/form-data and obsoletes RFC 2388, describing a representation "widely implemented in numerous web browsers and web servers" long before the document existed.
- It fixes the boundary rule, the per-part
Content-Dispositionwith the original field name, an optionalfilename, and the_charset_ladder — then deprecates a transfer encoding on the observation that "no deployed implementations that send such bodies have been discovered".
A format with no author — and one engineer who kept coming back
Some specifications are designs: someone decides how a thing will work, and implementations follow. multipart/form-data went the other way. It was set out in RFC 1867, a November 1995 proposal for form-based file upload by Ernesto Nebel and Larry Masinter, folded into HTML 3.2 in January 1997, revised by Masinter as RFC 2388 in September 1998 — and shipped, in slightly different dialects, by every browser on earth.
Then the trail goes quiet for seventeen years. When it resumes, it is Masinter again, now at Adobe rather than Xerox, writing RFC 7578. The same man, the same format, two decades apart: first the design, then the confession.
The memo says so in its first section, without embarrassment. The definition is "derived from one of those applications", it was "subsequently incorporated into HTML 3.2", and the representation "is widely implemented in numerous web browsers and web servers". A standards document that begins by citing its own implementations is not a weakness. It is the honest description of how the web standardises: practice first, paperwork later, and the paperwork's job is to describe what already won.
What multipart/form-data actually promises
The rules are small, and they are mostly about ambiguity. Parts are separated by a boundary "constructed using CRLF, '--', and the value of the 'boundary' parameter", and that delimiter "MUST NOT appear inside any of the encapsulated parts" — which is why the boundary is a random string, and why a sender that guesses badly produces a file that silently splits.
Every part must carry Content-Disposition with the disposition type form-data and a name holding the original field name. A file part should also carry a filename, but the memo is careful: the name is not mandatory "for cases where the file name isn't available or is meaningless or private" — which covers drag-and-drop and data streamed straight from a device.
Then the warning that has aged well: receivers should "not use the file name blindly" and should "not use directory path information that may be present". The format carries whatever the client felt like typing, and the memo says so plainly — a sentence every upload-security checklist since has quietly inherited.
The mechanism nobody ever shipped
Section 4.7 is the best paragraph in the memo. Older guidance told senders to encode non-ASCII parts with a transfer encoding such as quoted-printable, so the body could pass through transports that only carried seven-bit data. RFC 7578 deprecates that for binary-capable transports like HTTP and tells senders not to generate the header at all.
The reason it gives is not an argument. It is an observation: "Currently, no deployed implementations that send such bodies have been discovered." Twenty years of a recommended mechanism, and apparently nobody had ever built it. The recommendation had been sitting in the specification, inherited by each revision, without a single implementation to justify it.
That is what happens when specifications are copied forward instead of tested: a rule survives because it is written down, not because it works. RFC 7578's contribution is to notice, and to stop.
Where the standard keeps its rules: the _charset_ ladder and the IANA registry
The most modern part of the document is a deferral. To decide which character encoding applies, an HTML form uses the _charset_ field if present, then the form's accept-charset, then the document's own encoding if it is ASCII-compatible, and "otherwise, UTF-8".
That ladder is not invented here; the memo points at HTML 5 for it. So multipart/form-data is specified in two places at once: an IETF document that defines the media type, and a web standard that defines how a browser decides what to put inside it. Anyone implementing an upload endpoint has to read both, and the split is exactly the boundary between the internet's plumbing and the web's behaviour.
Its home in the registry is equally modest. The IANA media type registry records the name, the reference and the registration date, and points at RFC 7578. It does not decide what the format means. The browser does. The record describes; the implementation decides — and the document is calm enough to say so.
What RFC 7578 says about how standards really work
multipart/form-data is a reminder that a specification is sometimes a receipt rather than a blueprint. The format existed, the bugs existed, the path-traversal warnings existed, and the RFC arrived to write them down in a form that could be cited.
David Clark's summary of IETF process — later immortalised in RFC 7282 — is usually recited as a pair: "We reject: kings, presidents and voting"; "We believe in: rough consensus and running code." multipart/form-data is the case where the running code did all the work and the consensus arrived by post, twenty years late, holding a receipt.
That is also why the document can be so calm about its own history. It does not pretend to have designed anything. It fixes vocabulary, it deprecates one dead mechanism, it names the field that decides character sets, and it hands the messy parts to the documents that already own them. The result is a standard that describes the web instead of instructing it — which is the only kind that could have been written so late.
And the precedence is the lock-in. Once browsers define the behaviour, changing the format means changing the browsers first; a document that arrives afterwards can only describe what they already agreed to. RFC 7578 is what authority looks like when it arrives after the fact: polite, precise, and in no position to change anything.
Member Briefing
Read the full trend briefing
Members read the full briefing with the source notes behind every finding.
Strategic Circle
A daily briefing in your language, built from changes we have verified.
Join for USD 20/monthCancel anytime.
Members also get the full research library, a daily briefing on the networks they follow and the private forum.






