mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-12 20:51:03 +00:00
Update http.js
This commit is contained in:
parent
7acb695877
commit
2912ca8b4b
|
@ -529,12 +529,12 @@ var HTTPObject = function(engine) {
|
||||||
if (detectedCharset != null && this.charset != detectedCharset) {
|
if (detectedCharset != null && this.charset != detectedCharset) {
|
||||||
var _interface = SHELL.create();
|
var _interface = SHELL.create();
|
||||||
responseText = _interface.setCharset(detectedCharset).exec(cmd);
|
responseText = _interface.setCharset(detectedCharset).exec(cmd);
|
||||||
debuggingText = _interface.stderr;
|
debuggingText = _interface.stderr.read();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Get debuging text
|
// Get debuging text
|
||||||
debuggingText = this.interface.stderr;
|
debuggingText = this.interface.stderr.read();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -960,7 +960,7 @@ exports.patch = patch;
|
||||||
exports.put = put;
|
exports.put = put;
|
||||||
exports._delete = _delete;
|
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.AUTHOR = "abuse@catswords.net";
|
||||||
exports.global = global;
|
exports.global = global;
|
||||||
exports.require = global.require;
|
exports.require = global.require;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user