]> sjero.net Git - wget/blobdiff - src/http.c
Download response body data for all requests
[wget] / src / http.c
index d63c0e2317dd3f421f6cbff8edb3209b9389a98f..669f0fe3a80e5bc41d0ea97768b3e66385f5130e 100644 (file)
@@ -2778,8 +2778,7 @@ read_header:
     }
 
   /* Return if we have no intention of further downloading.  */
-  if ((!(*dt & RETROKF) && !opt.content_on_error) || head_only
-      || (opt.method && strcasecmp (opt.method, "get") != 0))
+  if ((!(*dt & RETROKF) && !opt.content_on_error) || head_only)
     {
       /* In case the caller cares to look...  */
       hs->len = 0;