Revision 86fb98f2c3ec4e05bc529f19e41465da62052c3a authored by Lukasz Anforowicz on 02 April 2018, 23:48:36 UTC, committed by Chromium WPT Sync on 02 April 2018, 23:48:36 UTC
https://tools.ietf.org/html/rfc7303 says that if "new media type is
introduced for an XML-based format, the name of the media type SHOULD
end with '+xml'".

https://tools.ietf.org/html/rfc6839 covers '+xml' and '+json' suffixes.

https://mimesniff.spec.whatwg.org/#xml-mime-type says "An XML MIME type
is any MIME type whose subtype ends in '+xml' or whose essence is
'text/xml' or 'application/xml'. [RFC7303]".

https://mimesniff.spec.whatwg.org/#json-mime-type says "A JSON MIME type
is any MIME type whose subtype ends in '+json' or whose essence is
'application/json' or 'text/json'."

There are no occurences of "application/xml+", "text/xml+",
"application/json+", "text/json+" or "text/x-json" in the specs above
and on various lists of MIME types like:
-
https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Complete_list_of_MIME_types
- https://en.wikipedia.org/wiki/Media_type
- https://www.freeformatter.com/mime-types-list.html
- https://www.sitepoint.com/mime-types-complete-list/

Bug: 826756
Cq-Include-Trybots: master.tryserver.chromium.linux:linux_mojo
Change-Id: Ied30f9728bd4f082bb620fea150f342457ea4833
Reviewed-on: https://chromium-review.googlesource.com/985211
Commit-Queue: Łukasz Anforowicz <lukasza@chromium.org>
Reviewed-by: Nick Carter <nick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#547565}
1 parent 94b7255
History
File Mode Size
legacy-mb-japanese
legacy-mb-korean
legacy-mb-tchinese
resources
OWNERS -rw-r--r-- 24 bytes
api-basics.html -rw-r--r-- 2.1 KB
api-invalid-label.html -rw-r--r-- 919 bytes
api-replacement-encodings.html -rw-r--r-- 690 bytes
api-surrogates-utf8.html -rw-r--r-- 1.5 KB
big5-encoder.html -rw-r--r-- 1.8 KB
eof-shift_jis-ref.html -rw-r--r-- 141 bytes
eof-shift_jis.html -rw-r--r-- 188 bytes
eof-utf-8-one-ref.html -rw-r--r-- 142 bytes
eof-utf-8-one.html -rw-r--r-- 181 bytes
eof-utf-8-three-ref.html -rw-r--r-- 146 bytes
eof-utf-8-three.html -rw-r--r-- 189 bytes
eof-utf-8-two-ref.html -rw-r--r-- 142 bytes
eof-utf-8-two.html -rw-r--r-- 182 bytes
gb18030-encoder.html -rw-r--r-- 777 bytes
gbk-encoder.html -rw-r--r-- 769 bytes
idlharness.html -rw-r--r-- 881 bytes
iso-2022-jp-decoder.html -rw-r--r-- 3.2 KB
iso-2022-jp-encoder.html -rw-r--r-- 731 bytes
replacement-encodings.html -rw-r--r-- 862 bytes
single-byte-decoder.html -rw-r--r-- 17.8 KB
textdecoder-byte-order-marks.html -rw-r--r-- 1.6 KB
textdecoder-copy.any.js -rw-r--r-- 442 bytes
textdecoder-fatal-single-byte.html -rw-r--r-- 2.9 KB
textdecoder-fatal-streaming.html -rw-r--r-- 1.6 KB
textdecoder-fatal.html -rw-r--r-- 4.1 KB
textdecoder-ignorebom.html -rw-r--r-- 1.9 KB
textdecoder-labels.html -rw-r--r-- 1.5 KB
textdecoder-streaming.html -rw-r--r-- 1.7 KB
textdecoder-utf16-surrogates.html -rw-r--r-- 1.3 KB
textencoder-constructor-non-utf.html -rw-r--r-- 817 bytes
textencoder-utf16-surrogates.html -rw-r--r-- 1.3 KB
unsupported-encodings.html -rw-r--r-- 1.5 KB
utf-32.html -rw-r--r-- 1.4 KB

back to top