MIME type for msgpack?
Asked Answered
S

4

38

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?

Serious answered 31/7, 2011 at 10:31 Comment(0)
M
20

According to a quick Google the overwhelming answer is application/x-msgpack. However, I can't find an authorative source.

Mobile answered 31/7, 2011 at 10:43 Comment(3)
And according to an overwhelmingly quick Google search, this is now the first result, so thank you!Spoke
The goal is to use application/msgpack see github.com/msgpack/msgpack/issues/194Duluth
I would go with application/msgpackOlogy
M
53

From the Wikipedia page on Media type:

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.

So you can use application/msgpack.

Micamicaela answered 17/9, 2014 at 8:51 Comment(0)
M
20

According to a quick Google the overwhelming answer is application/x-msgpack. However, I can't find an authorative source.

Mobile answered 31/7, 2011 at 10:43 Comment(3)
And according to an overwhelmingly quick Google search, this is now the first result, so thank you!Spoke
The goal is to use application/msgpack see github.com/msgpack/msgpack/issues/194Duluth
I would go with application/msgpackOlogy
C
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.

Chortle answered 31/7, 2011 at 23:20 Comment(0)
B
0

Application types:

  • application/msgpack
  • application/x-msgpack
  • application/*+msgpack
Brune answered 3/9, 2020 at 10:35 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.