FA-76643 / Email MIME structure / Member archive
Collect the plain-text body to display: alternative empty skip · case 03
An HTML-only last alternative produces an empty display although a text alternative exists.
Case contract
Returns the text/plain strings to display in order. Types compare case-insensitively. multipart/alternative yields the result of its last child that yields any text; other multiparts concatenate their children. Entities with an attachment disposition yield nothing. A message/rfc822 without attachment disposition yields its body; text/plain yields its text; everything else yields nothing.
Why this case matters
Text extraction powers previews, replies and search; wrong choices quote attachments or skip the real body.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| html last alternative | [] | ["plain 3"] | Failed |
MEMBER ARCHIVE
The complete case is available to members.
This record includes three runnable implementations, regression fixtures, execution results, and source hashes.
Member access is invitation-based. Sign in with your invited account to inspect the sources.
Sign in to the archive ↗