oembed
oembed copied to clipboard
oEmbed mime types for discovery have unusual "name+type" order
I know I'm late to the party, and this is possibly not easy to change. But RFC 6838 says, that +json and +xml are meant as suffixes. So the correct (according to the IETF) mime types should read
application/oembed+json
text/oembed+xml
Besides, these media types should be registered with the IANA. https://www.iana.org/form/media-types Registrations in the standards tree (no prefix) need a formal publication, and therefore, at this time these would be better named as:
application/vnd.oembed+json
application/vnd.oembed+xml