Custom mimetypes (MIME types) — Jupyter Documentation 4.1.1 alpha documentation (original) (raw)

What’s a mimetype?#

When an internet request and response occurs, a Content-Type header is passed. A mimetype, also referred to as MIME type, identifies how the content that is being returned should be handled or used, based on type, by the application and browser. A MIME type is made up of a MIME group (i.e. application, image, audio, etc.) and a MIME subtype. For example, a MIME type is image/png where MIME group is image and subtype is png.

As types may contain vendor specific items, acustom vendor specific MIME type,vnd, can be used. A vendor specific MIME type will contain vnd such asapplication/vnd.jupyter.cells.

Custom mimetypes used in Jupyter and IPython projects#

Listing of custom mimetypes used for display#