overrideMimeType

This commit is contained in:
Patricio Gonzalez Vivo 2015-03-15 17:48:06 -04:00
parent b003f30bb7
commit 798ad11924

View File

@ -114,7 +114,9 @@ function fetchHTTP(url, methood){
}
}
request.open(methood ? methood : 'GET', url, false);
request.send();
request.overrideMimeType("text/plain");
// request.overrideMimeType("text/html");
request.send(null);
return response;
}