MIMETypeToFormatList

Listing of Formats »

MIMETypeToFormatList[]

returns lists of file formats corresponding to all registered MIME types.

MIMETypeToFormatList[mime]

returns a list of file formats that matches the MIME type mime.

Details

  • MIMETypeToFormatList returns a list of all formats {"fmt1",} in the order that they are considered to be used as the format for the file given in the specified pattern.
  • MIME types specify the type of content when sending and receiving data over the internet.
  • MIME types are typically given in the form type/subtype, such as image/gif or text/csv.

Examples

open allclose all

Basic Examples  (2)

Get the format for image/png:

Get mappings for all image types:

Scope  (2)

Get all formats associated with application/json:

Get the association of all MIME type mappings:

Wolfram Research (2021), MIMETypeToFormatList, Wolfram Language function, https://reference.wolfram.com/language/ref/MIMETypeToFormatList.html.

Text

Wolfram Research (2021), MIMETypeToFormatList, Wolfram Language function, https://reference.wolfram.com/language/ref/MIMETypeToFormatList.html.

CMS

Wolfram Language. 2021. "MIMETypeToFormatList." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/MIMETypeToFormatList.html.

APA

Wolfram Language. (2021). MIMETypeToFormatList. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/MIMETypeToFormatList.html

BibTeX

@misc{reference.wolfram_2024_mimetypetoformatlist, author="Wolfram Research", title="{MIMETypeToFormatList}", year="2021", howpublished="\url{https://reference.wolfram.com/language/ref/MIMETypeToFormatList.html}", note=[Accessed: 22-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_mimetypetoformatlist, organization={Wolfram Research}, title={MIMETypeToFormatList}, year={2021}, url={https://reference.wolfram.com/language/ref/MIMETypeToFormatList.html}, note=[Accessed: 22-November-2024 ]}