Fixed wget file format

(cherry picked from commit 0febfd38aa3047555d34f7e125adb3773ee8a2da)
pull/5/head
Anthony Axenov 2023-08-13 11:01:00 +08:00
parent 2c4eedbf8b
commit fb7b4baa32
Signed by: anthony
GPG Key ID: EA9EC32FF7CCD4EC
1 changed files with 1 additions and 2 deletions

View File

@ -53,7 +53,7 @@ class WgetRequest extends AbstractRequest
$output[] = http_build_query($params);
return $output;
default:
return ["\t$this->body"];
return ["\t'$this->body' \ "];
}
}
@ -75,7 +75,6 @@ class WgetRequest extends AbstractRequest
$this->prepareHeaders(),
$this->prepareBody()
);
$output[] = rtrim(array_pop($output), '\ ');
$output[] = "\t'$this->url'";
return implode(PHP_EOL, array_merge($output, ['']));
}