Completely updated React, fixed #11, (hopefully)
This commit is contained in:
4
goTorrentWebUI/node_modules/superagent/superagent.js
generated
vendored
4
goTorrentWebUI/node_modules/superagent/superagent.js
generated
vendored
@@ -1353,7 +1353,9 @@ function parseHeader(str) {
|
||||
*/
|
||||
|
||||
function isJSON(mime) {
|
||||
return /[\/+]json\b/.test(mime);
|
||||
// should match /json or +json
|
||||
// but not /json-seq
|
||||
return /[\/+]json($|[^-\w])/.test(mime);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user