media type

A standard label for a data format, written type/subtype, such as application/json or text/event-stream.

In more detail

Media types appear in Content-Type and Accept. They are registered centrally so every client and server means the same thing by them. Versioning by media type puts the version inside such a label so the address can stay the same.

Example

application/json, application/problem+json and text/event-stream

Related terms

Taught in

References