Defining the FormData format (multipart/form-data).
Each entry either has
Content-Disposition: form-data; name="..."
Content-Disposition: form-data; name="..."; filename="..." Content-Type: ...
- The HTML dirname feature seems to be one way only. Maybe the feature needs to be redesigned?
- If there is no name, imply "isindex"?
- Encoding: name appears to consist of bytes (per encoding of form)
Something like HTMLFormElement.populate(FormData) which updates all entries with the data from FormData. Maybe it should take a dictionary to indicate whether unaffected items should be cleared or retained.
Initially this page was about evolving the FormData API. That has long since happened.