]> sjero.net Git - wget/blobdiff - src/http.c
Improve output in case of --post-{file,body} commands.
[wget] / src / http.c
index 88f7a96fd1a39ea98bee2aa19fd3e3760aa6730e..25ad4740f8c35f2419a77d2e2648550162879ce0 100644 (file)
@@ -1765,8 +1765,6 @@ gethttp (struct url *u, struct http_stat *hs, int *dt, struct url *proxy,
     const char *meth = "GET";
     if (head_only)
       meth = "HEAD";
-    else if (opt.post_file_name || opt.post_data)
-      meth = "POST";
     else if (opt.method)
       {
         char *q;