Media types and subtypes
A media type (formerly known as MIME type) describes the kind of document that is transmitted from server to client.
A media type consists of a type and a subtype and optional parameters:
type "/" [tree "."] subtype ["+" suffix]* [";" parameter]
Examples for media types are application/pdf
or image/jpeg
.
Registered types are:
-
application
-
audio
-
example
-
font
-
image
-
message
-
model
-
multipart
-
text
-
video
chemical
is an unofficial top-level name in common use.
.vnd, .x and .prs types
In theory, all mime types are registered with IANA (»Internet Assigned Numbers Authority«).
However, some vendors choose to use unofficial types and prepend them with x-
(or more modernly x.
?).
Vendor specific media sub-types start with vnd.
(for example application/vnd.github.mercy-preview+json
).
Personal (vanity) specific media sub-types start with prs.
.