mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-09 13:16:05 +00:00
Update http.js
This commit is contained in:
parent
840e3bfb4c
commit
98b49b80a1
|
@ -80,6 +80,9 @@ var HTTPObject = function(engine) {
|
|||
this.create = function() {
|
||||
switch (this.engine) {
|
||||
case "MSXML":
|
||||
if (typeof XMLHttpRequest !== "undefined") {
|
||||
_interface = new XMLHttpRequest();
|
||||
} else {
|
||||
_interface = CreateObject([
|
||||
"Microsoft.XMLHTTP",
|
||||
"WinHttp.WinHttpRequest.5.1",
|
||||
|
@ -97,6 +100,7 @@ var HTTPObject = function(engine) {
|
|||
"Msxml2.ServerXMLHTTP.4.0",
|
||||
"Msxml2.ServerXMLHTTP.3.0"
|
||||
]);
|
||||
}
|
||||
break;
|
||||
|
||||
case "CURL":
|
||||
|
|
Loading…
Reference in New Issue
Block a user