We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a67b18 commit 923dffdCopy full SHA for 923dffd
src/network/network_service.js
@@ -132,7 +132,7 @@ cls.NetworkLoggerService = function(view)
132
"application/xslt+xml", "text/xsl", "application/xml",
133
"text/css", "text/plain", "application/x-javascript",
134
"application/json", "application/javascript", "text/javascript",
135
- "application/x-www-form-urlencoded",
+ "application/x-www-form-urlencoded", "text/json",
136
"text/xml",
137
""]; // <- Yes really.
138
// It's frelling silly, but there's a bug with core not giving us content types
@@ -194,7 +194,7 @@ cls.NetworkLoggerService = function(view)
194
195
196
197
- "application/x-www-form-urlencoded"];
+ "application/x-www-form-urlencoded", "text/json"];
198
199
var resparg = [[DATA_URI, DECODE],
200
text_types.map(function(e) { return [e, [STRING, DECODE]]})
src/resource-manager/resource_util.js
@@ -88,6 +88,7 @@ cls.ResourceUtil.mime_type_map = {
88
"application/javascript": "script",
89
"text/javascript": "script",
90
"application/json": "script",
91
+ "text/json": "script",
92
93
"image/png": "image",
94
"image/gif": "image",
0 commit comments