Update http.js

This commit is contained in:
Namhyeon Go 2024-07-10 13:03:59 +09:00 committed by GitHub
parent 92c9ae3063
commit 3c375f6a7c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -617,7 +617,7 @@ var HTTPObject = function(engine) {
var url = state.url;
var out = PipeIPC.connect("volatile");
if (this.method !== "GET") {
if (this.method == "GET") {
cmd = cmd.concat(["/download", "/priority", job_priority, url, out.path]); // build a BITS command
_interface.exec(cmd); // launch the download job
out.reload(); // read the downloaded data