MediaType:
| "text/plain"
| "text/html"
| "text/css"
| "text/csv"
| "text/markdown"
| "text/calendar"
| "text/vcard"
| "application/json"
| "application/xml"
| "application/pdf"
| "application/zip"
| "application/gzip"
| "application/x-tar"
| "application/octet-stream"
| "application/msword"
| "application/vnd.ms-excel"
| "application/vnd.ms-powerpoint"
| "application/vnd.openxmlformats-officedocument.wordprocessingml.document"
| "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
| "application/vnd.openxmlformats-officedocument.presentationml.presentation"
| "application/vnd.oasis.opendocument.text"
| "application/vnd.oasis.opendocument.spreadsheet"
| "image/png"
| "image/jpeg"
| "image/gif"
| "image/webp"
| "image/bmp"
| "image/svg+xml"
| "image/x-icon"
| "audio/mpeg"
| "audio/wav"
| "audio/ogg"
| "video/mp4"
| "video/webm"
| "message/rfc822"
| string & Record<never, never>
A MIME media type.
The listed literals provide editor completion for common types, but every other
type/subtypevalue is accepted as well: the IANA registry is open, and vendor or experimental types such asapplication/vnd.*andapplication/x-*are valid. The value is used verbatim in the part'sContent-Typeheader.