msgpack seems to be an extremely fast, if extremely new format for data serialisation. Does it have a recognised MIME type yet? If not, what should be used in the interim?
Asked
Active
Viewed 1.2k times
4 Answers
50
From Wikipedia : According to RFC 6838 (published in January 2013 : https://www.rfc-editor.org/rfc/rfc6838), any use of types in the "x." tree is strongly discouraged. Media types with names beginning with "x-" are no longer considered to be members of this tree since January 2013.
Then use directly application/msgpack
19
According to a quick Google the overwhelming answer is application/x-msgpack
. However, I can't find an authorative source.

Stu Mackellar
- 11,510
- 1
- 38
- 59
-
8And according to an overwhelmingly quick Google search, this is now the first result, so thank you! – Ben Kreeger Aug 15 '13 at 23:16
-
5The goal is to use `application/msgpack` see https://github.com/msgpack/msgpack/issues/194 – aggsol Apr 18 '19 at 07:54
-
I would go with `application/msgpack` – Debjit Aug 31 '22 at 20:39
1
application/x-msgpack
is probably the correct MIME
header, however a small caution to future readers: relying on a MIME
type for anything beyond high-level information is dangerous (at best) because the structure and meaning of the message is dynamic in nature.

Sean
- 9,888
- 4
- 40
- 43
0
Application types:
application/msgpack
application/x-msgpack
application/*+msgpack

аlex
- 5,426
- 1
- 29
- 38