Custom mimetypes (MIME types)#
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, a
custom vendor specific MIME type,
vnd, can be used. A vendor specific MIME type will contain vnd such as
application/vnd.jupyter.cells.
Custom mimetypes used in Jupyter and IPython projects#
application/vnd.jupyterapplication/vnd.jupyter.cellsapplication/vnd.jupyter.dragindexused by nbdimeapplication/x-ipynb+jsonfor notebookstext/htmlmetadata:
isolated: boolean– HTML should be rendered inside an<iframe>.
Listing of custom mimetypes used for display#
application/vnd.geo+json- GeoJSON specapplication/vnd.geo+jsonis now deprecated and replaced byapplication/geo+jsonapplication/geo+json- preferred GeoJSON specapplication/vnd.plotly.v1+json- Plotly JSON Schemaapplication/vdom.v1+json- Virtual DOM spec