mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-13 05:01:03 +00:00
Update http.js
This commit is contained in:
parent
c634a4dba3
commit
d953079db7
|
@ -290,7 +290,7 @@ var HTTPObject = function(engine) {
|
||||||
|
|
||||||
this.setMethod(method.toUpperCase()); // set method
|
this.setMethod(method.toUpperCase()); // set method
|
||||||
this.pushState(null, null, url); // push stat
|
this.pushState(null, null, url); // push stat
|
||||||
this.setHeader("User-Agent", (this.userAgent != null ? this.userAgent : "")); // set user agent
|
this.setHeader("User-Agent", (this.userAgent != null ? this.userAgent : '')); // set user agent
|
||||||
|
|
||||||
try {
|
try {
|
||||||
if (this.engine == "MSXML") {
|
if (this.engine == "MSXML") {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user