Update http.js

This commit is contained in:
Namhyeon Go 2023-09-21 10:59:51 +09:00 committed by GitHub
parent 7acb695877
commit 2912ca8b4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -529,12 +529,12 @@ var HTTPObject = function(engine) {
if (detectedCharset != null && this.charset != detectedCharset) {
var _interface = SHELL.create();
responseText = _interface.setCharset(detectedCharset).exec(cmd);
debuggingText = _interface.stderr;
debuggingText = _interface.stderr.read();
}
}
// Get debuging text
debuggingText = this.interface.stderr;
debuggingText = this.interface.stderr.read();
}
}
@ -960,7 +960,7 @@ exports.patch = patch;
exports.put = put;
exports._delete = _delete;
exports.VERSIONINFO = "HTTP Lib (http.js) version 0.7.6";
exports.VERSIONINFO = "HTTP Lib (http.js) version 0.7.7";
exports.AUTHOR = "abuse@catswords.net";
exports.global = global;
exports.require = global.require;