remote: Don’t pass `--method=GET` to `wget` (#38771)

313838373473747564656e74766775 created

BusyBox's off brand `wget` does not have support for the `--method`
argument, which makes `zed` incapable of downloading the remote server
unless the _☙authentic❧_ one is installed. Removing this should fix the
issue. Couldn't find much about guidelines on how the code is supposed
to be formatted, so I opted for commenting the line out with an
explanation.

Closes #38712

Release Notes:

- Fixed remote development on BusyBox

Change summary

crates/remote/src/transport/ssh.rs | 1 -
1 file changed, 1 deletion(-)

Detailed changes

crates/remote/src/transport/ssh.rs 🔗

@@ -558,7 +558,6 @@ impl SshRemoteConnection {
                     .run_command(
                         "wget",
                         &[
-                            "--method=GET",
                             "--header=Content-Type: application/json",
                             "--body-data",
                             body,