Update http.js

This commit is contained in:
Namhyeon Go 2022-01-13 17:48:42 +09:00 committed by GitHub
parent c634a4dba3
commit d953079db7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -290,7 +290,7 @@ var HTTPObject = function(engine) {
this.setMethod(method.toUpperCase()); // set method
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 {
if (this.engine == "MSXML") {