multipart/*
multipart/form-data
The HTML form encoding that supports file uploads.
What is multipart/form-data?
multipart/form-data is the Content-Type used by HTML forms that include a file input. Each field is transmitted as its own MIME part with independent headers, which lets binary files travel alongside plain text fields in a single request.
Typical usage
File uploads from HTML forms, chunked uploads, mail attachments.
Common gotchas
The Content-Type header includes a boundary parameter (e.g. `multipart/form-data; boundary=...`). Do not omit the boundary — the request will be rejected.
HTTP header example
Response header
Content-Type: multipart/form-dataReference
RFC 7578