Update http.js

This commit is contained in:
Namhyeon Go 2020-11-12 16:21:43 +09:00
parent 8318fba344
commit 6c38d81bf0

View File

@ -54,6 +54,7 @@ var HTTPObject = function() {
var _k = key.toLowerCase();
var _v = headers[key].toLowerCase();
if (_k === "content-type" && _v === "application/json") {
this.dataType = "json";
return true;
}
}